class method self.new

Ruby on Rails 2.2.3

Last seen in v2.2.3

Signature

self.new(name)

No documentation comment.

Parameters

name req
Source
# File actionpack/lib/action_controller/test_case.rb, line 5
    def initialize(name)
      @name = name
      super "Unable to determine the controller to test from #{name}. " +
        "You'll need to specify it using 'tests YourController' in your " +
        "test case definition. This could mean that #{inferred_controller_name} does not exist " +
        "or it contains syntax errors"
    end

Defined in actionpack/lib/action_controller/test_case.rb line 5 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActionController::NonInferrableControllerError

Type at least 2 characters to search.

Use the arrow keys to navigate results, Enter to open one, Escape to close.

Keyboard shortcuts

/
Focus search
⌘K / Ctrl-K
Command palette
?
This help
Esc
Close