method

stub_everything

stub_everything(name = 'stub')
public

DEPRECATED - use mock(‘name’).as_null_object instead

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.