mirror of
https://github.com/inspec/inspec
synced 2024-11-10 07:04:15 +00:00
Quick fix for faraday_middleware bug introduced when bumping to faraday 0.16.0.
Namespacing changed in faraday from Faraday::Error::* to Faraday::* but was not reflected in faraday_middleware (which hasn't released since February). I will file an issue and/or PR with them later. Signed-off-by: Ryan Davis <zenspider@chef.io>
This commit is contained in:
parent
31b24c4abf
commit
984e02e312
1 changed files with 1 additions and 0 deletions
|
@ -1,6 +1,7 @@
|
||||||
require "helper"
|
require "helper"
|
||||||
require "inspec/resource"
|
require "inspec/resource"
|
||||||
require "inspec/resources/http"
|
require "inspec/resources/http"
|
||||||
|
Faraday::Error::ClientError = ::Faraday::ClientError # TODO/HACK push upstream to faraday_middleware
|
||||||
require "faraday_middleware/response/follow_redirects"
|
require "faraday_middleware/response/follow_redirects"
|
||||||
|
|
||||||
describe "Inspec::Resources::Http" do
|
describe "Inspec::Resources::Http" do
|
||||||
|
|
Loading…
Reference in a new issue