[rspec-users] [cucumber, jruby] Same steps are being added multiple times?

James Byrne lists at ruby-forum.com
Thu Apr 9 14:52:31 EDT 2009

John Goodsen wrote:

> but when I run my tests with:  jruby -S cucumber -r 
> stories/support/env.rb
> I am getting Ambiguous match of my steps - but I only have a single 
> class of steps, NavigationSteps.
> any ideas what's going on?

You have two (or more) step matchers that match a single clause in a 
scenario.  The error message usually tells you exactly which steps in 
which files collide, for the MRI anyway
Posted via http://www.ruby-forum.com/.

More information about the rspec-users mailing list