Fixture_scenarios in trunk

Hi,

I saw a previous post from David answering someones question about
fixture_scenarios with rspec. Following that I upgraded my rspec and
rspec_on_rails to the trunk versions and then installed the fixture
scenario plugin.

Now whenever I run my (previously passing rspecs) I get the following
error for all tests…


148)
NoMethodError in ‘Cart should show a sub_total_amount’
You have a nil object when you didn’t expect it!
You might have expected an instance of Array.
The error occurred while evaluating nil.each
…/vendor/plugins/fixture_scenarios/lib/fixture_scenarios.rb:37:in
create_fixtures' ../vendor/plugins/fixture_scenarios/lib/fixture_scenarios.rb:33:increate_fixtures’
…/vendor/plugins/fixture_scenarios/lib/fixture_scenarios.rb:26:in
create_fixtures' ../vendor/plugins/fixture_scenarios/lib/fixture_scenarios.rb:257:inload_fixtures’
…/vendor/plugins/rspec_on_rails/lib/spec/rails/dsl/behaviour/
rails_example.rb:27:in `before_eval’

At the moment I am only using global fixtures for one model, I have
tried removing this line and its still the same error.

config.global_fixtures = :sites

and I have added the trailing slash to my fixture path

config.fixture_path = RAILS_ROOT + ‘/spec/fixtures/’

Anyone got any pointers on getting this running? This particular
application uses railsengines (both rails and engines are gem
versions of 1.2 (rails 1.2.3))

Thanks,

David