Exception: ActionController::NonInferrableControllerError
- Inherits:
-
ActionControllerError
- Object
- StandardError
- ActionControllerError
- ActionController::NonInferrableControllerError
- Defined in:
- lib/action_controller/test_case.rb
Instance Method Summary collapse
-
#initialize(name) ⇒ NonInferrableControllerError
constructor
A new instance of NonInferrableControllerError.
Constructor Details
#initialize(name) ⇒ NonInferrableControllerError
Returns a new instance of NonInferrableControllerError.
5 6 7 8 9 |
# File 'lib/action_controller/test_case.rb', line 5 def initialize(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" end |