Module: Spec::Mocks::Methods

Defined in:
lib/rspec_super.rb

Instance Method Summary collapse

Instance Method Details

#should_receive_super_of(method) ⇒ Object

Behaves like should_receive except that it can be used to set expectations on the method specified calling super.



8
9
10
# File 'lib/rspec_super.rb', line 8

def should_receive_super_of(method)
  should_receive(install_super_hook_for(method))
end