replace stub_any_instance with @controller.stub