summaryrefslogtreecommitdiff
path: root/spec/unit/application
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 /spec/unit/application
parent489f6963c48f7f79477ffad8c5881be27009d8fa (diff)
downloadchef-c01cd411d1774fc3328ff49ad108db159590ae7b.tar.gz
Change expect to allow.mcquin/client_spec_fix
Diffstat (limited to 'spec/unit/application')
-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