method
stub_everything
1.1.4 -
Show latest stable
- Class:
Spec::Mocks::ExampleMethods
stub_everything(name = 'stub')public
Shortcut for creating a mock object that will return itself in response to any message it receives that it hasn’t been explicitly instructed to respond to.