diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2014-01-29 18:42:40 -0800 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2014-01-29 18:42:40 -0800 |
commit | e42e6fe2d0c971882451d27c986b9930de7d2ffe (patch) | |
tree | c52bf04ecf3d870298a05a30dfe05d2d3c8335d3 /spec/unit/application_spec.rb | |
parent | 647d75df3caa7172754d9dfc2f9fe767aeb91857 (diff) | |
download | chef-e42e6fe2d0c971882451d27c986b9930de7d2ffe.tar.gz |
remove some more deprecation warnings
Diffstat (limited to 'spec/unit/application_spec.rb')
-rw-r--r-- | spec/unit/application_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/application_spec.rb b/spec/unit/application_spec.rb index cff887f631..6110a8a3c5 100644 --- a/spec/unit/application_spec.rb +++ b/spec/unit/application_spec.rb @@ -281,7 +281,7 @@ describe Chef::Application do @app.config[:config_file] = "/tmp/non-existing-dir/file" config_file_regexp = Regexp.new @app.config[:config_file] Chef::Log.should_receive(:warn).at_least(:once).with(config_file_regexp).and_return(true) - Chef::Log.should_receive(:warn).any_number_of_times.and_return(true) + Chef::Log.stub(:warn).and_return(true) @app.configure_chef end end |