Sha256: af6ddec7c92b9056e4e4f7b12e5c58eaca96cc6248f036315ac896a63776a486

Contents?: true

Size: 767 Bytes

Versions: 2

Compression:

Stored size: 767 Bytes

Contents

#!/usr/bin/env ruby

$LOAD_PATH << "#{Dir.pwd}/lib"

require 'pact_broker/test/http_test_data_builder'

td = PactBroker::Test::HttpTestDataBuilder.new('http://pact-broker:9292', { })
td.delete_integration(consumer: "Foo", provider: "Bar")
  .create_tagged_pacticipant_version(pacticipant: "Bar", version: "1", tag: "master")
  .sleep
  .publish_pact(consumer: "Foo", consumer_version: "1", provider: "Bar", content_id: "111", tag: "master")
  .sleep
  .publish_pact(consumer_version: "2", content_id: "222", tag: "feat-x")
  .sleep
  .get_pacts_for_verification(
    enable_pending: true,
    provider_version_tag: "master",
    include_wip_pacts_since: "2020-01-01",
    consumer_version_selectors: [{ tag: "master", latest: true }])
  .print_pacts_for_verification

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
pact_broker-2.69.0 script/reproduce-issue.rb
pact_broker-2.68.1 script/reproduce-issue.rb