[rspec-users] Using Rspec with ScenarioFixtures

David Chelimsky dchelimsky at gmail.com
Mon Sep 10 20:10:27 EDT 2007


On 9/10/07, Bret Pettichord <bret at pettichord.com> wrote:
> I am currently trying to get Rspec to work with ScenarioFixtures.
>
> http://code.google.com/p/fixture-scenarios/
> http://errtheblog.com/post/7708
>
> I did a quick search and didn't find any mention that any one else had
> gotten this to work yet. If i missed something, could you please drop me a
> line.

Hey Bret - this was just fixed in trunk - change this line in spec_helper.rb:

  config.fixture_path = RAILS_ROOT + '/spec/fixtures'

to this:

  config.fixture_path = RAILS_ROOT + '/spec/fixtures/'

(add a trailing slash).

That should do it.

Cheers,
David


>
> Otherwise, expect a progress report when i get this working...
>
> Bret
>
> _______________________________________________
> rspec-users mailing list
> rspec-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users
>


More information about the rspec-users mailing list