Skip to content

Commit 8b9f879

Browse files
committed
test: fix link_spec
1 parent fb93eb2 commit 8b9f879

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/lib/pact/hal/link_spec.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ module Hal
6464
let(:success) { false }
6565

6666
it "creates an ErrorEntity" do
67-
expect(Pact::Hal::ErrorEntity).to receive(:new).with(response_body, http_client, response)
67+
expect(Pact::Hal::ErrorEntity).to receive(:new).with(response_body.to_json, http_client, response)
6868
do_run
6969
end
7070
end

0 commit comments

Comments
 (0)