method
tests
rails latest stable - Class:
ActionController::TestCase
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.