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
'/fixtures/log
I've been getting my head around view spec'ing lately for a fairly
complex project that makes heavy use of partials in views and I have hit
up against a style puzzle.
I see two strategies for spec'ing views:
First:
Develop detailed specs for each partial and then make sure that the
final view e