[rspec-devel] [ rspec-Bugs-6411 ] Can't run Rails specs with ruby

noreply at rubyforge.org noreply at rubyforge.org
Mon Oct 30 20:20:34 EST 2006


Bugs item #6411, was opened at 2006-10-30 20:20
You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=3149&aid=6411&group_id=797

Category: None
Group: None
Status: Open
Resolution: None
Priority: 3
Submitted By: Aslak Hellesoy (aslak_hellesoy)
Assigned to: Nobody (None)
Summary: Can't run Rails specs with ruby

Initial Comment:
Standing in vendor/rspec_on_rails:

ruby spec/models/person_spec.rb

/Users/aslakhellesoy/scm/rspec/trunk/vendor/rspec_on_rails/config/../../../lib/spec/expectations/sugar.rb:13:in `call': undefined method `fixtures' for #<Spec::Runner::ContextEvalModule:0x2769dc4> (NoMethodError)
        from /Users/aslakhellesoy/scm/rspec/trunk/vendor/rspec_on_rails/config/../../../lib/spec/expectations/sugar.rb:13:in `_method_missing'
        from /Users/aslakhellesoy/scm/rspec/trunk/vendor/rspec_on_rails/config/../../../lib/spec/expectations/sugar.rb:9:in `method_missing'
        from /Users/aslakhellesoy/scm/rspec/trunk/vendor/rspec_on_rails/config/../../../lib/spec/runner/context_eval.rb:37:in `method_missing'
        from spec/models/person_spec.rb:4
        from /Users/aslakhellesoy/scm/rspec/trunk/vendor/rspec_on_rails/config/../../../lib/spec/runner/context.rb:14:in `initialize'
        from /Users/aslakhellesoy/scm/rspec/trunk/vendor/rspec_on_rails/config/../vendor/plugins/rspec/lib/spec/rails/context_factory.rb:17:in `create'
        from /Users/aslakhellesoy/scm/rspec/trunk/vendor/rspec_on_rails/vendor/plugins/rspec/lib/extensions/kernel.rb:4:in `context'
        from spec/models/person_spec.rb:3

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

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


More information about the rspec-devel mailing list