Sha256: 5bb7666ce7e36ec2a971385d65690c041984da336865225d1d1e9fbcd50a8da0

Contents?: true

Size: 479 Bytes

Versions: 12

Compression:

Stored size: 479 Bytes

Contents

Could not find one or more provider states.
Have you required the provider states file for this consumer in your pact_helper.rb?
If you have not yet defined these states, here is a template:
<% consumers.keys.each do | consumer_name | %>
Pact.provider_states_for "<%= consumer_name %>" do
<% consumers[consumer_name].each do | provider_state | %>
  provider_state "<%= provider_state %>" do
    set_up do
      # Your set up code goes here
    end
  end
<% end %>
end
<% end %>

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
pact-1.1.0.rc1 lib/pact/templates/provider_state.erb
pact-1.0.37 lib/pact/templates/provider_state.erb
pact-1.0.36 lib/pact/templates/provider_state.erb
pact-1.0.35 lib/pact/templates/provider_state.erb
pact-1.0.34 lib/pact/templates/provider_state.erb
pact-1.0.33 lib/pact/templates/provider_state.erb
pact-1.0.32 lib/pact/templates/provider_state.erb
pact-1.0.31 lib/pact/templates/provider_state.erb
pact-1.0.30 lib/pact/templates/provider_state.erb
pact-1.0.29 lib/pact/templates/provider_state.erb
pact-1.0.28 lib/pact/templates/provider_state.erb
pact-1.0.27 lib/pact/templates/provider_state.erb