Hi there, does anyone have a pactflow example of a...
# pactflow
n
Hi there, does anyone have a pactflow example of a ruby provider verification? I'm not sure how to set up the pact_broker_client task if im using pactflow
Copy code
require 'pact/provider/rspec'

require "./spec/pact/provider_states_for_order_item_categories"

Pact.service_provider "monolith" do
  honours_pact_with 'testDemo_platform_payment_service' do
    pact_broker_base_url = ''
    pact_broker_client = PactBroker::Client.new(base_url: pact_broker_base_url)
    pact_url = pact_broker_client.pact_url('monolith', 'testDemo_platform_payment_service')
    pact_uri pact_url
    publish_verification_results true
    enable_pending true 
    include_wip_pacts_since "2020-01-01"
  end
end