Hi all, I'm not quite sure I understand how env.rb is loaded in the cucumber/jruby world. I have a directory structure like this:
stories/fulfillment_status_tracking stories/fulfillment_status_tracking/main_success.feature stories/fulfillment_status_tracking/test.feature stories/regular_billme_single_title_subscription stories/regular_billme_single_title_subscription/form_validation.feature stories/regular_billme_single_title_subscription/main_success.feature stories/support stories/support/env.rb My env.rb file simply loads my Java step class and adds it, here's what it looks like: ----------- env.rb ----------- require 'cucumber/java' import 'com.timeinc.ecommerce.storytests.cucumber.NavigationSteps' register_steps(NavigationSteps) SeleniumController.markStepsLoaded() ----------- 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? -- John Goodsen RADSoft / Better Software Faster jgood...@radsoft.com Lean/Agile/XP/Scrum Coaching and Training http://www.radsoft.com Ruby on Rails and Java Solutions
_______________________________________________ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users