Sha256: da79b9625f8312b4682dc52b0c7a1aa94f72bcc9b3d35163d158e79202014cc8
Contents?: true
Size: 559 Bytes
Versions: 3
Compression:
Stored size: 559 Bytes
Contents
# This pact_helper is always set as the pact_helper for the `pact verify` command. # If there was a pact_helper specified by the user, its location is stored in # ENV['PACT_PROJECT_PACT_HELPER'] and it is loaded by this pact_helper. require 'pact/provider/rspec' require 'rack/reverse_proxy' Pact.service_provider "Running Provider Application" do app do Rack::ReverseProxy.new do reverse_proxy '/', ENV.fetch('PACT_PROVIDER_BASE_URL') end end end require ENV['PACT_PROJECT_PACT_HELPER'] if ENV.fetch('PACT_PROJECT_PACT_HELPER','') != ''
Version data entries
3 entries across 3 versions & 1 rubygems