lib/pact/provider/provider_state.rb in pact-1.0.32 vs lib/pact/provider/provider_state.rb in pact-1.0.33
- old
+ new
@@ -1,6 +1,7 @@
require 'pact/shared/dsl'
+require 'pact/provider/provider_state_configured_modules'
module Pact
module Provider
module DSL
@@ -49,9 +50,11 @@
@name = name
@namespace = namespace
@set_up_defined = false
@tear_down_defined = false
@no_op_defined = false
+ #not sure why but using include doesn't bring in the configured module methods
+ self.extend ProviderStateConfiguredModules
end
dsl do
def set_up &block
self.register_set_up &block