#134 ✓hold
Matt Aimonetti

RSpec support: create fixtures in the proper folder

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

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

Comments and changes to this ticket

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.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Shared Ticket Bins

Pages