summaryrefslogtreecommitdiff
path: root/spec/unit/application
diff options
context:
space:
mode:
Diffstat (limited to 'spec/unit/application')
-rw-r--r--spec/unit/application/solo_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/application/solo_spec.rb b/spec/unit/application/solo_spec.rb
index 31114261c8..3f7c203c67 100644
--- a/spec/unit/application/solo_spec.rb
+++ b/spec/unit/application/solo_spec.rb
@@ -208,7 +208,7 @@ Enable chef-client interval runs by setting `:client_fork = true` in your config
it "sets the repo path" do
expect(Chef::Config).to receive(:find_chef_repo_path).and_return("/var/chef")
app.reconfigure
- expect(Chef::Config.has_key?(:chef_repo_path)).to be_truthy
+ expect(Chef::Config.key?(:chef_repo_path)).to be_truthy
expect(Chef::Config[:chef_repo_path]).to eq ("/var/chef")
end