tests(controller_class)
public

Sets the controller class name. Useful if the name can’t be inferred from test class. Normalizes controller_class before using.

tests WidgetController
tests :widget
tests 'widget'