Sha256: 285772208d128c87182f2d20573171342b45afc6abed9dbd6d50eabe6f5e3f05
Contents?: true
Size: 792 Bytes
Versions: 5
Compression:
Stored size: 792 Bytes
Contents
shared_context "pact broker" do let(:pact_hash) { {consumer: {name: 'Condor'}, provider: {name: 'Pricing Service'}, interactions: []} } let(:consumer_contract) { Pact::ConsumerContract.from_hash pact_hash } let(:pact_json) { pact_hash.to_json } let(:pact_broker_client) { PactBroker::Client::PactBrokerClient.new(base_url: 'http://localhost:1234') } let(:consumer_version) { '1.3.0' } let(:version) { '1.3.0' } let(:pact_broker_version) { Pact::Term.new(:matcher => /\d+\.\d+\.\d+/, :generate => '1.0.0') } let(:pact_broker_response_headers) { {} } let(:default_request_headers) { { 'Content-Type' => 'application/json'} } let(:patch_request_headers) { { 'Content-Type' => 'application/json'} } let(:get_request_headers) { { 'Accept' => 'application/json'} } end
Version data entries
5 entries across 5 versions & 1 rubygems