Sha256: d6cc864b335373c4f8e1a290407bcd70936ea23ffd4701c584be70f1113453f7

Contents?: true

Size: 729 Bytes

Versions: 1

Compression:

Stored size: 729 Bytes

Contents

require './spec/spec_helper'
require 'pact/provider/rspec'
require 'sequel'
require 'pact_broker/db'
require 'pact_broker/api'
require 'uri'
require_relative 'provider_states_for_pact_broker_client'

require 'pact_broker/api/resources/pact'

Pact.configure do | config |
  config.logger.level = Logger::DEBUG
end

Pact.service_provider "Pact Broker" do
#  app { PactBroker::API }

  honours_pact_with "Pact Broker Client" do
    pact_uri "../pact_broker-client/spec/pacts/pact_broker_client-pact_broker.json"
  end

  # honours_pact_with "Pact Broker Client", :ref => :head do
  #   pact_uri URI.encode("http://rea-pact-broker.biq.vpc.realestate.com.au/pact/provider/Pact Broker/consumer/Pact Broker Client/latest")
  # end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pact_broker-0.0.9 spec/service_consumers/pact_helper.rb