diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2018-10-26 14:07:46 -0700 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2018-10-26 14:07:46 -0700 |
commit | bef8c668bba6981bc5954377350eed272c3366fd (patch) | |
tree | 85db56bf87d62cd1fca33ed02af45c8365ca3038 | |
parent | 94343db4afc618619e2bce37863aefbbe49cd9ee (diff) | |
download | chef-bef8c668bba6981bc5954377350eed272c3366fd.tar.gz |
remove more deprecated specs
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
-rw-r--r-- | spec/functional/mixin/shell_out_spec.rb | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/spec/functional/mixin/shell_out_spec.rb b/spec/functional/mixin/shell_out_spec.rb index b3e9bf796d..df428afdcd 100644 --- a/spec/functional/mixin/shell_out_spec.rb +++ b/spec/functional/mixin/shell_out_spec.rb @@ -20,36 +20,6 @@ require "spec_helper" describe Chef::Mixin::ShellOut do include Chef::Mixin::ShellOut - describe "shell_out_with_systems_locale" do - before do - Chef::Config[:treat_deprecation_warnings_as_errors] = false - end - - describe "when environment['LC_ALL'] is not set" do - it "should use the default shell_out setting" do - cmd = if windows? - shell_out_with_systems_locale("echo %LC_ALL%") - else - shell_out_with_systems_locale("echo $LC_ALL") - end - - expect(cmd.stdout.chomp).to match_environment_variable("LC_ALL") - end - end - - describe "when environment['LC_ALL'] is set" do - it "should use the option's setting" do - cmd = if windows? - shell_out_with_systems_locale("echo %LC_ALL%", environment: { "LC_ALL" => "POSIX" }) - else - shell_out_with_systems_locale("echo $LC_ALL", environment: { "LC_ALL" => "POSIX" }) - end - - expect(cmd.stdout.chomp).to eq "POSIX" - end - end - end - describe "shell_out default_env: false" do describe "when environment['LC_ALL'] is not set" do it "should use the default shell_out setting" do |