summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClaire McQuin <claire@getchef.com>2015-01-23 10:13:16 -0800
committerClaire McQuin <claire@getchef.com>2015-01-23 10:13:16 -0800
commitc01cd411d1774fc3328ff49ad108db159590ae7b (patch)
tree2c664bd4a5d2709ea734a5d30b27d292992d57ad
parent489f6963c48f7f79477ffad8c5881be27009d8fa (diff)
downloadchef-mcquin/client_spec_fix.tar.gz
Change expect to allow.mcquin/client_spec_fix
-rw-r--r--spec/unit/application/client_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/application/client_spec.rb b/spec/unit/application/client_spec.rb
index 601d92633c..3838e736a7 100644
--- a/spec/unit/application/client_spec.rb
+++ b/spec/unit/application/client_spec.rb
@@ -242,7 +242,7 @@ describe Chef::Application::Client, "configure_chef" do
before do
@original_argv = ARGV.dup
ARGV.clear
- expect(::File).to receive(:read).with("/etc/chef/client.rb").and_return("")
+ allow(::File).to receive(:read).with("/etc/chef/client.rb").and_return("")
app.configure_chef
end