diff options
author | Claire McQuin <claire@getchef.com> | 2014-12-08 16:18:26 -0800 |
---|---|---|
committer | Claire McQuin <claire@getchef.com> | 2014-12-08 16:18:26 -0800 |
commit | 0c285f221e2139c98a7ad5ef0fa95005305df430 (patch) | |
tree | 2b3a33913265a672813966f0a2708793901a960f /spec/unit/config_spec.rb | |
parent | ac166598eb9a96b61e5a997b3a1c267579d174af (diff) | |
parent | c6e5654a18f236dd75bb59472e80887c27310d99 (diff) | |
download | chef-0c285f221e2139c98a7ad5ef0fa95005305df430.tar.gz |
Merge branch 'audit-mode' of github.com:opscode/chef into mcquin/audit_event_proxy_specmcquin/audit_event_proxy_spec
Diffstat (limited to 'spec/unit/config_spec.rb')
-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 |