[rspec-devel] [ rspec-Bugs-10672 ] Setting Spec::Runner.configure fixture_path doesn't seem to work

noreply at rubyforge.org noreply at rubyforge.org
Mon May 7 19:20:06 EDT 2007


Bugs item #10672, was opened at 2007-05-07 16:20
You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=3149&aid=10672&group_id=797

Category: None
Group: None
Status: Open
Resolution: None
Priority: 3
Submitted By: Brian Takita (btakita)
Assigned to: Nobody (None)
Summary: Setting Spec::Runner.configure fixture_path doesn't seem to work

Initial Comment:
Spec::Runner.configure do |config|
  config.use_transactional_fixtures = true
  config.use_instantiated_fixtures  = false
  config.fixture_path = RAILS_ROOT + '/test/fixtures'
#  config.global_fixtures = :table_a, :table_b
end

module Spec
  module Rails
    module Runner
      class EvalContext < Test::Unit::TestCase
        # When the next line is uncommented, the specs work
#        self.fixture_path = RAILS_ROOT + '/test/fixtures'
        extend DisabledSpecs
        include CommunityPatentSpecHelper
        include RjsSpecHelper
      end
    end
  end
end


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

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


More information about the rspec-devel mailing list