[rspec-users] Cucumber - Ambiguous steps

Damian Jones
Mon, 15 Sep 2008 09:28:01 -0000

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/.