diff options
author | Claire McQuin <claire@getchef.com> | 2015-01-23 10:13:16 -0800 |
---|---|---|
committer | Claire McQuin <claire@getchef.com> | 2015-01-23 10:13:16 -0800 |
commit | c01cd411d1774fc3328ff49ad108db159590ae7b (patch) | |
tree | 2c664bd4a5d2709ea734a5d30b27d292992d57ad /spec/unit/application | |
parent | 489f6963c48f7f79477ffad8c5881be27009d8fa (diff) | |
download | chef-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.rb | 2 |
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 |