Skip to content

Commit

Permalink
test: fix
Browse files Browse the repository at this point in the history
  • Loading branch information
bethesque committed Aug 27, 2019
1 parent f02a1ca commit de2bb9b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@ module Decorators
content_hash: content_hash,
created_at: created_at,
consumer: consumer,
consumer_name: consumer.name,
provider: provider,
provider_name: provider.name,
consumer_version: consumer_version,
consumer_version_number: '1234',
pact_version_sha: '9999',
Expand Down
2 changes: 2 additions & 0 deletions spec/lib/pact_broker/api/decorators/pact_decorator_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@ module Decorators
content_hash: content_hash,
created_at: created_at,
consumer: consumer,
consumer_name: consumer.name,
provider: provider,
provider_name: provider.name,
consumer_version: consumer_version,
consumer_version_number: '1234',
pact_version_sha: '9999',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,6 @@ module Decorators
it "includes a link to the triggered webhooks" do
expect(subject[:_links][:'pb:triggered-webhooks'][:href]).to eq "http://triggered-webhooks"
end

it "includes the provider version tags" do
expect(subject[:_embedded][:tags].first).to eq name: 'prod', latest: true
end
end
end
end
Expand Down

0 comments on commit de2bb9b

Please sign in to comment.