[rspec-users] Getting the file a scenario is defined in (Cucumber)

Kevin Olbrich lists at ruby-forum.com
Tue Mar 31 08:06:48 EDT 2009

In Cucumber...
Is there a simple way to find out what file a scenario is defined in?

I'd like to use this information to load a set of fixtures depending on
which feature is being run.  So if I'm running the 'login.feature' file,
I'd like to be able to load the set of fixtures under

Posted via http://www.ruby-forum.com/.

More information about the rspec-users mailing list