summaryrefslogtreecommitdiff
path: root/spec/unit/config_spec.rb
diff options
context:
space:
mode:
authorClaire McQuin <claire@getchef.com>2014-12-08 16:18:26 -0800
committerClaire McQuin <claire@getchef.com>2014-12-08 16:18:26 -0800
commit0c285f221e2139c98a7ad5ef0fa95005305df430 (patch)
tree2b3a33913265a672813966f0a2708793901a960f /spec/unit/config_spec.rb
parentac166598eb9a96b61e5a997b3a1c267579d174af (diff)
parentc6e5654a18f236dd75bb59472e80887c27310d99 (diff)
downloadchef-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.rb4
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