spec/spec_helper.rb in looksist-0.2.6 vs spec/spec_helper.rb in looksist-0.2.7
- old
+ new
@@ -1,8 +1,8 @@
require 'active_support/all'
-require 'faraday_middleware'
require 'her'
+require 'faraday'
require 'ostruct'
require 'pry'
require 'simplecov'
require 'coveralls'
@@ -30,11 +30,9 @@
end
TEST_API = Her::API.new
config = Proc.new do |conn|
- conn.use FaradayMiddleware::EncodeJson
- conn.use Faraday::Request::UrlEncoded
conn.use Her::Middleware::DefaultParseJSON
conn.use Faraday::Adapter::NetHttp
conn.use Faraday::Response::RaiseError
end