Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

RSpec support: create fixtures in the proper folder

#134

Fixtures are created in the test/fixtures/ even when a user is using RSpec.

Maybe fixtures should be created in the RSpec folder when Rspec for rails plugin is found.

as a work around, one can edit spec_helper.rb, to load the fixtures from test/unit.

Spec::Runner.configure do |config|

config.use_transactional_fixtures = true

config.use_instantiated_fixtures = false

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

end

Reported by Matt Aimonetti · October 18th, 2007 @ 01:59 PM

State: hold
Milestone: none
Assigned to: Chris Wanstrath Chris Wanstrath

Activity

  1. Chris Wanstrath
    Chris Wanstrath
    • State changed from new to hold

    I would love you forever if you could post a patch.

    October 19th, 2007 @ 11:19 PM

  2. Matt Aimonetti (mattetti)
    Matt Aimonetti (mattetti)

    be ready to love me forever :)

    but hold on a bit, I have a lot of work atm, I definitely want to use fixture_scenarios_builder working perfectly with RSpec in my next project.

    November 8th, 2007 @ 06:34 PM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.