diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2017-03-20 15:13:19 -0700 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2017-03-20 18:48:54 -0700 |
commit | 4482689c53b5482b90b90a4b3586ed0c5a44a0fc (patch) | |
tree | 734021d2aa789e54eef870b61f08d0a8a0c8289f /spec | |
parent | 422d5720de5401fac3e52f50d63507f11765e8fe (diff) | |
download | chef-4482689c53b5482b90b90a4b3586ed0c5a44a0fc.tar.gz |
Chef-13: remove Chef::ShellOut
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
Diffstat (limited to 'spec')
-rw-r--r-- | spec/unit/shell_out_spec.rb | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/spec/unit/shell_out_spec.rb b/spec/unit/shell_out_spec.rb deleted file mode 100644 index 35844f4961..0000000000 --- a/spec/unit/shell_out_spec.rb +++ /dev/null @@ -1,18 +0,0 @@ -require File.expand_path("../../spec_helper", __FILE__) - -describe "Chef::ShellOut deprecation notices" do - it "logs a warning when initializing a new Chef::ShellOut object" do - expect(Chef::Log).to receive(:warn).with("Chef::ShellOut is deprecated, please use Mixlib::ShellOut") - expect(Chef::Log).to receive(:warn).with(/Called from\:/) - Chef::ShellOut.new("pwd") - end -end - -describe "Chef::Exceptions::ShellCommandFailed deprecation notices" do - - it "logs a warning when referencing the constant Chef::Exceptions::ShellCommandFailed" do - expect(Chef::Log).to receive(:warn).with("Chef::Exceptions::ShellCommandFailed is deprecated, use Mixlib::ShellOut::ShellCommandFailed") - expect(Chef::Log).to receive(:warn).with(/Called from\:/) - Chef::Exceptions::ShellCommandFailed - end -end |