diff options
-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 |