I assume you've followed the Wiki instructions about how to set up
Cucumber with Rails:
http://github.com/aslakhellesoy/cucumber/wikis (I should move this to
a separate Rails page)

Then you should have a steps/env.rb file that looks like this:
http://github.com/aslakhellesoy/cucumber/tree/master/generators/ cucumber/templates/env.rb


Done all that.

You can put the code in this file, or you can put it in another one
and do this at the top:
require File.dirname(__FILE__) + '/env'

Aha.

So I assumed that the features/steps/env.rb file was what was loading all the other files in features/steps. Sounds a bit silly when I write it down.

Thanks Aslak
_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to