Run the generator again with the –webrat flag if you want to use webrat matchers – how?

suppose you want a file views/resumes/index.html.erb_spec.rb want to have webrat matchers
1) delete the file “index.html.erb_spec.rb”
2) use the generator respec:view resumes index –webrat
or  respec:view resumes index show    –webrat     etc  if required more files

or

generator respec:scaffold resumes  –webrat

www.klairvoyant.in

This entry was posted in rails, ROR, ruby on rails, web development and tagged , , , , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s