[rspec-users] Cucumber - Ambiguous steps

Damian Jones lists at ruby-forum.com
Mon Sep 15 05:28:01 EDT 2008


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


More information about the rspec-users mailing list