From 016527337c3ebf7a6a6d49ff6601e8f1b6878fc1 Mon Sep 17 00:00:00 2001 From: d-m-u Date: Tue, 4 Feb 2020 14:37:33 -0500 Subject: [PATCH] Fix specs --- spec/lib/vcr/library_hooks/faraday_spec.rb | 4 ++-- spec/spec_helper.rb | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/spec/lib/vcr/library_hooks/faraday_spec.rb b/spec/lib/vcr/library_hooks/faraday_spec.rb index e84e3575..21fa940f 100644 --- a/spec/lib/vcr/library_hooks/faraday_spec.rb +++ b/spec/lib/vcr/library_hooks/faraday_spec.rb @@ -30,7 +30,7 @@ conn = Faraday.new(:url => 'http://sushi.com') do |builder| builder.use VCR::Middleware::Faraday builder.use Faraday::Response::Logger - builder.use Faraday::Adapter::NetHttp + builder.adapter Faraday.default_adapter end conn.builder.lock! @@ -43,7 +43,7 @@ it 'prints a warning if the faraday connection stack contains a middleware after the HTTP adapter' do conn = Faraday.new(:url => 'http://sushi.com') do |builder| - builder.use Faraday::Adapter::NetHttp + builder.adapter Faraday.default_adapter builder.use Faraday::Response::Logger end diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 9edb6532..0863f359 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -1,5 +1,5 @@ -require "codeclimate-test-reporter" -CodeClimate::TestReporter.start +require 'simplecov' +SimpleCov.start require "pry" require "rspec"