Class: Pact::Message::Consumer::SpecHooks

Inherits:
Object
  • Object
show all
Defined in:
lib/pact/message/consumer/spec_hooks.rb

Instance Method Summary collapse

Instance Method Details

#after_each(example_description) ⇒ Object



5
6
7
8
9
# File 'lib/pact/message/consumer/spec_hooks.rb', line 5

def after_each example_description
  Pact.configuration.message_provider_verifications.each do | message_provider_verification |
    message_provider_verification.call example_description
  end
end