This is what I was trying to accomplish

Then I should see "My product name"
And I should see "My product description"
And I should see "My product name was successfully saved."

After reading all the comments above, the follwing step name solves my 
problem

Then /I should see "(.*?)"$/ do |text|


-- 
Posted via http://www.ruby-forum.com/.
_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to