#52 √ out-of-date
Chad Humphries

[#12162] --drb in spec.opts causes`raise_controller_errors' not to be found and raises subsequent errors

Reported by Chad Humphries | November 19th, 2007 @ 04:20 AM

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]:#

./spec/models/../spec_helper.rb:12:

Comments and changes to this ticket

  • Chad Humphries

    Chad Humphries November 19th, 2007 @ 04:20 AM

    Date: 2007-07-23 21:55

    Sender: Scott Taylor

    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.

    Date: 2007-07-23 10:12

    Sender: Edward Ocampo-Gooding

    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

    Date: 2007-07-23 08:21

    Sender: David Chelimsky

    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).

  • David Chelimsky

    David Chelimsky July 19th, 2008 @ 04:14 AM

    • → State changed from “new” to “out-of-date”
    • → Tag changed from “” to “bug”

Please Login or create a free account to add a new comment.

You can update this ticket by sending an email to from your email client. (help)

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

Behaviour Driven Development for Ruby.

Shared Ticket Bins

People watching this ticket

Tags