1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
|
From: Balint Reczey <balint.reczey@canonical.com>
Date: Thu, 26 Apr 2018 23:02:15 +0200
Subject: Fix tests with ruby-faraday 0.13.1
---
spec/oauth2/client_spec.rb | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
--- a/spec/oauth2/client_spec.rb
+++ b/spec/oauth2/client_spec.rb
@@ -172,7 +172,7 @@
end
it 'outputs to $stdout when OAUTH_DEBUG=true' do
- allow(ENV).to receive(:[]).with('http_proxy').and_return(nil)
+ allow(ENV).to receive(:[]).and_return(nil)
allow(ENV).to receive(:[]).with('OAUTH_DEBUG').and_return('true')
output = capture_output do
subject.request(:get, '/success')
|