From 64f3b7b6e42905328b02b164fc5afa60226265a6 Mon Sep 17 00:00:00 2001 From: Beth Skurrie Date: Thu, 2 Apr 2020 20:08:13 +1100 Subject: [PATCH] fix: incorrect require path for hal entity Closes: https://github.com/pact-foundation/pact_broker-client/issues/67 --- lib/pact_broker/client/hal/link.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pact_broker/client/hal/link.rb b/lib/pact_broker/client/hal/link.rb index 960441ef..ccc39ade 100644 --- a/lib/pact_broker/client/hal/link.rb +++ b/lib/pact_broker/client/hal/link.rb @@ -62,7 +62,7 @@ def expand(params) private def wrap_response(href, http_response) - require 'pact/hal/entity' # avoid circular reference + require 'pact_broker/client/hal/entity' # avoid circular reference if http_response.success? Entity.new(href, http_response.body, @http_client, http_response) else