From bef8c668bba6981bc5954377350eed272c3366fd Mon Sep 17 00:00:00 2001 From: Lamont Granquist Date: Fri, 26 Oct 2018 14:07:46 -0700 Subject: remove more deprecated specs Signed-off-by: Lamont Granquist --- spec/functional/mixin/shell_out_spec.rb | 30 ------------------------------ 1 file changed, 30 deletions(-) (limited to 'spec/functional/mixin') 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 -- cgit v1.2.1