[rspec-devel] [ rspec-Bugs-14955 ] config.fixture_path= method does not work with Rails 2.0

noreply at rubyforge.org noreply at rubyforge.org
Mon Oct 29 03:28:01 EDT 2007


Bugs item #14955, was opened at 2007-10-22 13:17
You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=3149&aid=14955&group_id=797

Category: rails plugin
Group: None
>Status: Deleted
Resolution: None
Priority: 3
Submitted By: Brian Takita (btakita)
Assigned to: Nobody (None)
Summary: config.fixture_path= method does not work with Rails 2.0

Initial Comment:
Setting config.fixture_path= does not affect where rspec looks for the fixtures.

----------------------------------------------------------------------

Comment By: Brian Takita (btakita)
Date: 2007-10-26 12:05

Message:
Actually setting Spec::Rails::DSL::Example.fixture_path
would be better.

----------------------------------------------------------------------

Comment By: Brian Takita (btakita)
Date: 2007-10-26 11:33

Message:
It doesn't work with current Rails version either.
The problem is there is some code that expects
Test::Unit::TestCase.fixture_path to be written to.

Having Configuration#fixture_path= set
Test::Unit::TestCase.fixture_path would fix this.

----------------------------------------------------------------------

You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=3149&aid=14955&group_id=797


More information about the rspec-devel mailing list