diff options
Diffstat (limited to 'spec/unit/application/client_spec.rb')
-rw-r--r-- | spec/unit/application/client_spec.rb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/spec/unit/application/client_spec.rb b/spec/unit/application/client_spec.rb index 13b98b6434..004debf5ad 100644 --- a/spec/unit/application/client_spec.rb +++ b/spec/unit/application/client_spec.rb @@ -303,8 +303,12 @@ describe Chef::Application::Client, "reconfigure" do context "when there is no new config" do let(:config_exists) { false } - it "does not updates the config" do + it "does not update the config" do expect(Chef::Config).not_to receive(:from_string) + .with( + "new_config", + File.join("the_path_to_the_repo", ".chef/config.rb") + ) app.reconfigure end |