[rspec-users] Story Runner => Cucumber(duplicate steps)!

aidy lewis aidy.lewis at googlemail.com
Tue Sep 23 12:18:26 EDT 2008


Hi,

I am currently moving over my Watir Story Runner tests over to Cucumber.

However, I have a verification_steps.rb that holds these two steps

  Then "the user is at '$title' page" do |title|
  browser.wait_until_includes(title)
  end

   Given "the user is at '$title' page" do |title|
  browser.wait_until_includes(title)
  end


I think these *are* both valid 'Whens' and 'Thens', but I am getting a
duplicate error from Cucumber.

Any opinions or suggestions please?

Aidy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/rspec-users/attachments/20080923/e3178c3b/attachment.html>


More information about the rspec-users mailing list