[rspec-devel] [ rspec-Bugs-9842 ] Cannot run specs due to fixture error

noreply at rubyforge.org noreply at rubyforge.org
Wed Apr 4 15:34:54 EDT 2007


Bugs item #9842, was opened at 2007-04-04 18:59
You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=3149&aid=9842&group_id=797

Category: rails plugin
Group: None
Status: Open
Resolution: None
Priority: 3
Submitted By: Chad Humphries (spicycode)
Assigned to: Nobody (None)
Summary: Cannot run specs due to fixture error

Initial Comment:
New EdgeRails Project with 0.9.0 RSpec + RSpec On Rails Frozen in vendor/plugins 

project_here/vendor/plugins/rspec_on_rails/lib/spec/rails/dsl/behaviour/base.rb:32:in `configure': undefined method `fixtures' for #<Class:0x3a5762c>

The model spec has no reference of fixtures in it, the spec_helper is vanilla/the default, and the app actually contacts no fixtures.  

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

>Comment By: David Chelimsky (dchelimsky)
Date: 2007-04-04 19:34

Message:
I haven't installed 1.8.6 and that may be part of the problem on my end. Would you please uncomment the line and run:

script/spec spec/models -b

and show us the backtrace?

Thanks

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

Comment By: Chad Humphries (spicycode)
Date: 2007-04-04 19:27

Message:
Commenting out line 32 of spec/rails/dsl/behaviour resolves
it, but not sure why at the moment.
#            fixtures global_fixtures if global_fixtures

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

Comment By: Chad Humphries (spicycode)
Date: 2007-04-04 19:24

Message:
- OSX 10.4.9 (Intel)
- Ruby 1.8.6
- EdgeRails
- Rspec/RspecOnRails/SpecUi 0.9.0 as a svn:external plugin

Running the spec using either script/spec
spec/models/model_spec.rb  or via rake spec/rake spec:models

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

Comment By: David Chelimsky (dchelimsky)
Date: 2007-04-04 19:17

Message:
how are you running the example? what command? from what directory? on what platform?

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

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


More information about the rspec-devel mailing list