Skip to content

Commit

Permalink
chore: add missing require
Browse files Browse the repository at this point in the history
  • Loading branch information
bethesque committed Jul 8, 2018
1 parent fe85b0b commit 27860f4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions lib/pact_broker/pacts/repository.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
require 'pact/shared/json_differ'
require 'pact_broker/domain'
require 'pact_broker/pacts/parse'
require 'pact_broker/matrix/head_row'

module PactBroker
module Pacts
Expand Down
2 changes: 1 addition & 1 deletion spec/lib/pact_broker/api/decorators/pact_decorator_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ module Decorators
end

it "includes a curie" do
expect(subject[:_links][:curies]).to eq [{ name: "pb", href: "http://example.org/doc/{rel}", templated: true }]
expect(subject[:_links][:curies]).to eq [{ name: "pb", href: "http://example.org/doc/{rel}?context=pact", templated: true }]
end

context "when the json_content is not a Hash" do
Expand Down

0 comments on commit 27860f4

Please sign in to comment.