method

new

rails latest stable - Class: ActionController::NonInferrableControllerError

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v2.2.1) is shown here.

new(name)
public

No documentation available.

# 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