Sha256: 7842a6f6071bf442f0dc75801f9df75be7ea96802063658abfac1533e5b5d9f4

Contents?: true

Size: 413 Bytes

Versions: 11

Compression:

Stored size: 413 Bytes

Contents

$: << File.expand_path("../../../lib", __FILE__)

require 'pact/provider/rspec'
require 'animal_service/db'

require_relative "provider_states_for_zoo_app"

Pact.service_provider 'Animal Service' do
  honours_pact_with "Zoo App" do
    pact_uri '../zoo-app/spec/pacts/zoo_app-animal_service.json'
  end
end

RSpec.configure do | config |
  config.before do
    AnimalService::DATABASE[:animals].truncate
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
pact-1.0.39 example/animal-service/spec/service_consumers/pact_helper.rb
pact-1.1.0.rc2 example/animal-service/spec/service_consumers/pact_helper.rb
pact-1.0.38 example/animal-service/spec/service_consumers/pact_helper.rb
pact-1.1.0.rc1 example/animal-service/spec/service_consumers/pact_helper.rb
pact-1.0.37 example/animal-service/spec/service_consumers/pact_helper.rb
pact-1.0.36 example/animal-service/spec/service_consumers/pact_helper.rb
pact-1.0.35 example/animal-service/spec/service_consumers/pact_helper.rb
pact-1.0.34 example/animal-service/spec/service_consumers/pact_helper.rb
pact-1.0.33 example/animal-service/spec/service_consumers/pact_helper.rb
pact-1.0.32 example/animal-service/spec/service_consumers/pact_helper.rb
pact-1.0.31 example/animal-service/spec/service_consumers/pact_helper.rb