Module: Spec::Mocks::Methods

Module | Spec::Mocks::Methods
In: | lib/spec/mocks/methods.rb

### Methods

as_null_object null_object? should_not_receive should_receive stub stub! stub_chain unstub unstub!

### Public Instance methods

as_null_object()
null_object?()
should_not_receive(sym, &block)
should_receive(sym, opts={}, &block)
stub(sym_or_hash, opts={}, &block)

Alias for stub!

stub!(sym_or_hash, opts={}, &block)
stub_chain(*methods)
unstub(message)

Alias for unstub!

unstub!(message)

[Validate]