[rspec-users] Spec'ing via features

James Byrne lists at ruby-forum.com
Thu Nov 27 13:39:28 EST 2008

Tim Walker wrote:
> FWIW - I just did it and it seemed OK...
> /features/steps/holiday_steps.rb
> ...
> Then /^there should be 2 nodes in the control group$/ do
>   Fixtures.create_fixtures("/../../test/fixtures", "holiday_schedules")
> end
> ...
> /test/fixtures/holiday_schedules.yml
> one:
>  for_year: 2020
> No moaning from Cucumber though it complained as I was getting the
> path and table name right. YMMV.

That is probably my problem.  I did not pass it the correct path and 
file name so the reason the fixture was not loaded was because it did 
not exist.
Posted via http://www.ruby-forum.com/.

More information about the rspec-users mailing list