Module: Caricature::RSpecMatchers

Defined in:
lib/caricature/rspec/integration.rb

Defined Under Namespace

Classes: HaveRaised, HaveReceived

Instance Method Summary collapse

Instance Method Details

#have_raised(event_name, *args) ⇒ Object



109
110
111
# File 'lib/caricature/rspec/integration.rb', line 109

def have_raised(event_name, *args)
  HaveRaised.new(event_name).with(*args)
end

#have_received(method_name, *args) ⇒ Object



105
106
107
# File 'lib/caricature/rspec/integration.rb', line 105

def have_received(method_name, *args)
  HaveReceived.new(method_name).with(*args)
end