[rspec-devel] [ rspec-Bugs-6870 ] rspec on edge rails spec:controller fixture loading fails

noreply at rubyforge.org noreply at rubyforge.org
Fri Nov 24 22:58:04 EST 2006


Bugs item #6870, was opened at 2006-11-25 03:58
You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=3149&aid=6870&group_id=797

Category: rails plugin
Group: None
Status: Open
Resolution: None
Priority: 3
Submitted By: courtenay 3 (court3nay)
Assigned to: Nobody (None)
Summary: rspec on edge rails spec:controller fixture loading fails

Initial Comment:
as per http://rubyforge.org/pipermail/rspec-users/2006-November/000247.html

since they made the fixture_path inheritable, we need to add that back in, or follow this workaround: 
in spec_helper.rb

module Spec
  module Rails
    class EvalContext < Test::Unit::TestCase
      cattr_accessor :fixture_path
      ...
    end
  end
end

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

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


More information about the rspec-devel mailing list