Skip to content

Commit

Permalink
test: fix
Browse files Browse the repository at this point in the history
  • Loading branch information
bethesque committed Feb 19, 2020
1 parent fedf17e commit 6170ace
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion spec/integration_with_pact_broker_config_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
["pmaster"],
"http://localhost:5738",
{ username: nil, password: nil, token: "token", verbose: nil },
{ include_pending_status: false }
{ include_pending_status: false, include_wip_pacts_since: nil }
)
subject
end
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ module ProviderVerifier
let(:provider_version_tags) { ["dev"] }
let(:pact_broker_base_url) { "http://broker" }
let(:http_client_options) { { "foo" => "bar"} }
let(:options) { { enable_pending: true } }
let(:options) { { enable_pending: true, include_wip_pacts_since: '2020-01-01' } }

let(:pact_uris) { [double('PactURI', uri: "http://pact-2")] }
let(:pending_pact_2) { double('PactURI', uri: "http://pact-2") }
Expand Down Expand Up @@ -79,7 +79,7 @@ module ProviderVerifier
provider_version_tags,
pact_broker_base_url,
http_client_options,
{ include_pending_status: true }
{ include_pending_status: true, include_wip_pacts_since: '2020-01-01' }
)
subject
end
Expand Down
4 changes: 4 additions & 0 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
ENV['PACT_BROKER_USERNAME'] = nil
ENV['PACT_BROKER_PASSWORD'] = nil
ENV['PACT_BROKER_TOKEN'] = nil

RSpec.configure do | config |

if config.respond_to?(:example_status_persistence_file_path=)
Expand Down

0 comments on commit 6170ace

Please sign in to comment.