Method: Spec::Mocks::Methods#as_null_object

Defined in:
lib/spec/mocks/methods.rb

#as_null_objectObject

Record and otherwise ignore all messages that aren’t specified, with stub, stub!, or should_receive.

Returns

self


63
64
65
# File 'lib/spec/mocks/methods.rb', line 63

def as_null_object
  __mock_proxy.as_null_object
end