method
new
v2.1.0 -
Show latest stable
- Class:
ActionController::NonInferrableControllerError
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