summaryrefslogtreecommitdiff
path: root/spec/functional/http/simple_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/functional/http/simple_spec.rb')
-rw-r--r--spec/functional/http/simple_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/functional/http/simple_spec.rb b/spec/functional/http/simple_spec.rb
index fec71351df..36468b4eba 100644
--- a/spec/functional/http/simple_spec.rb
+++ b/spec/functional/http/simple_spec.rb
@@ -85,7 +85,7 @@ describe Chef::HTTP::Simple do
before do
Chef::Log.level = :debug
@debug_log = ''
- Chef::Log.stub(:debug) { |str| @debug_log << str }
+ allow(Chef::Log).to receive(:debug) { |str| @debug_log << str }
end
let(:source) { 'http://localhost:9000' }