Skip to content

Commit

Permalink
test: fix verification specs
Browse files Browse the repository at this point in the history
  • Loading branch information
bethesque committed Aug 26, 2019
1 parent 9bcbc1b commit 6725f3d
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,14 @@ module Decorators
pact_version_sha: '1234',
latest_pact_publication: pact,
test_results: nil,
execution_date: DateTime.now)
execution_date: DateTime.now,
provider_version_tags: provider_version_tags)
end
let(:pact_version) do
instance_double("PactBroker::Pacts::PactVersion", name: 'Name')
end

let(:provider_version_tags) { [instance_double(PactBroker::Tags::TagWithLatestFlag, name: 'prod', latest?: true)] }
let(:pact) { instance_double("PactBroker::Domain::Pact", name: "Some pact", consumer_name: "Foo", provider_name: "Bar", consumer_version_number: "1.2.3") }
let(:options) { {base_url: 'http://example.org', consumer_name: "Foo", consumer_version_number: "1.2.3", resource_url: "http://self"} }

Expand Down

0 comments on commit 6725f3d

Please sign in to comment.