spec/vcr/library_hooks/faraday_spec.rb in vcr-2.5.0 vs spec/vcr/library_hooks/faraday_spec.rb in vcr-2.6.0

- old
+ new

@@ -45,10 +45,10 @@ conn = Faraday.new(:url => 'http://sushi.com') do |builder| builder.use Faraday::Adapter::NetHttp builder.use Faraday::Response::Logger end - conn.builder.should_receive(:warn).with(/Faraday::Response::Logger/) + expect(conn.builder).to receive(:warn).with(/Faraday::Response::Logger/) conn.builder.lock! end it 'gracefully handles the case where there is no explicit HTTP adapter' do conn = Faraday.new(:url => 'http://sushi.com') do |builder|