diff --git a/test/unit/resources/http_test.rb b/test/unit/resources/http_test.rb index 1165a8922..14e330d87 100644 --- a/test/unit/resources/http_test.rb +++ b/test/unit/resources/http_test.rb @@ -1,6 +1,7 @@ require "helper" require "inspec/resource" require "inspec/resources/http" +Faraday::Error::ClientError = ::Faraday::ClientError # TODO/HACK push upstream to faraday_middleware require "faraday_middleware/response/follow_redirects" describe "Inspec::Resources::Http" do