diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2014-11-25 13:47:40 -0800 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2014-11-25 13:47:40 -0800 |
commit | 5bab29b02248a4468a7fbf7f6226c30255c3abe3 (patch) | |
tree | f9640cc5997df15f4915c3a7bbf95ef5bcd7bee8 /spec | |
parent | 2dcf8244fd6ad46930112f593e78e0b18851dab6 (diff) | |
parent | 3558cccb16ff48be806c3af093462c95d4cc9b04 (diff) | |
download | chef-5bab29b02248a4468a7fbf7f6226c30255c3abe3.tar.gz |
Merge pull request #2487 from opscode/lcg/fix-windows-warn
suppress locale -a warnings on windows
Diffstat (limited to 'spec')
-rw-r--r-- | spec/unit/config_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/unit/config_spec.rb b/spec/unit/config_spec.rb index 58fb229c96..ed2003e8bf 100644 --- a/spec/unit/config_spec.rb +++ b/spec/unit/config_spec.rb @@ -426,7 +426,7 @@ describe Chef::Config do let(:locales) { locale_array.join("\n") } before do - allow(Chef::Config).to receive(:shell_out_with_systems_locale).with("locale -a").and_return(shell_out) + allow(Chef::Config).to receive(:shell_out_with_systems_locale!).with("locale -a").and_return(shell_out) end shared_examples_for "a suitable locale" do @@ -493,7 +493,7 @@ describe Chef::Config do let(:locale_array) { [] } before do - allow(Chef::Config).to receive(:shell_out_with_systems_locale).and_raise("THIS IS AN ERROR") + allow(Chef::Config).to receive(:shell_out_with_systems_locale!).and_raise("THIS IS AN ERROR") end it "should default to 'en_US.UTF-8'" do |