method
tests
v3.0.0 -
Show latest stable
- Class:
ActionController::TestCase::Behavior::ClassMethods
tests(controller_class)public
Sets the controller class name. Useful if the name can’t be inferred from test class. Expects controller_class as a constant. Example: tests WidgetController.