Module | ActionController::TestCase::Behavior::ClassMethods |
In: |
lib/action_controller/test_case.rb
|
Sets the controller class name. Useful if the name can‘t be inferred from test class. Normalizes controller_class before using. Examples:
tests WidgetController tests :widget tests 'widget'