module Pact::Consumer::Minitest
Constants
- VERSION
Public Class Methods
pact_spec_hooks()
click to toggle source
# File lib/pact/consumer/minitest.rb, line 12 def pact_spec_hooks @@pact_spec_hooks ||= Pact::Consumer::SpecHooks.new end
Public Instance Methods
after_teardown()
click to toggle source
Calls superclass method
# File lib/pact/consumer/minitest.rb, line 31 def after_teardown super pact_spec_hooks.after_each self.class.name end
before_setup()
click to toggle source
Calls superclass method
# File lib/pact/consumer/minitest.rb, line 25 def before_setup super before_suite pact_spec_hooks.before_each self.class.name end
before_suite()
click to toggle source
# File lib/pact/consumer/minitest.rb, line 18 def before_suite unless defined?(@@before_suite_hook_ran) && @@before_suite_hook_ran pact_spec_hooks.before_all @@before_suite_hook_ran = true end end
Private Instance Methods
pact_spec_hooks()
click to toggle source
# File lib/pact/consumer/minitest.rb, line 12 def pact_spec_hooks @@pact_spec_hooks ||= Pact::Consumer::SpecHooks.new end