[rspec-devel] [ rspec-Bugs-12162 ] --drb in spec.opts causes`raise_controller_errors' not to be found and raises subsequent errors
noreply at rubyforge.org
noreply at rubyforge.org
Mon Jul 23 21:55:45 EDT 2007
Bugs item #12162, was opened at 2007-07-10 15:54
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=3149&aid=12162&group_id=797
Category: None
Group: None
Status: Open
Resolution: None
Priority: 3
Submitted By: Edward Ocampo-Gooding (edwardog)
Assigned to: Nobody (None)
Summary: --drb in spec.opts causes`raise_controller_errors' not to be found and raises subsequent errors
Initial Comment:
Having --drb in spec.opts causes false-failures while running spec tasks against a running spec_server. Such failures resemble the following:
NameError in 'PurchaseController should use PurchaseController'
undefined local variable or method `raise_controller_errors' for [RSpec
example]:#<Class:0x69aa99c>
./spec/models/../spec_helper.rb:12:
----------------------------------------------------------------------
Comment By: Scott Taylor (smtlaissezfaire)
Date: 2007-07-24 01:55
Message:
Could you attach the relevant code sample? Could you also try reloading the spec server, and running the specs again? I've encountered errors like this before when I've created a new Rails Model, but haven't yet reloaded the spec server.
----------------------------------------------------------------------
Comment By: Edward Ocampo-Gooding (edwardog)
Date: 2007-07-23 14:12
Message:
Relevent peripheral software:
* OS X 10.4.9
* Ruby 1.8.6
* RSpec-1.0.5 (r2081)
* Spec::Rails 1.0.5
* Rails 1.2.3
----------------------------------------------------------------------
Comment By: David Chelimsky (dchelimsky)
Date: 2007-07-23 12:21
Message:
Before investigating this we need to know the versions of all
relevant software you are using, for example:
* OS X 10.4.9
* Ruby 1.8.6
* RSpec 1.8.2 or RSpec trunk r1643
* Spec::Rails 1.8.2 or Spec::Rails tag r1234...
* Rails 1.2.3 or Rails edge r5645
* Whatever other relevant software.
Without this information it's like solving 1 equation (your
question) with 5 unknown variables (the versions).
We strongly recommend that you use the latest released version of
RSpec, alternatively the subversion trunk (if you're the bleeding
edge kind of person).
----------------------------------------------------------------------
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=3149&aid=12162&group_id=797
More information about the rspec-devel
mailing list