summaryrefslogtreecommitdiff
path: root/spec/unit/config_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/unit/config_spec.rb')
-rw-r--r--spec/unit/config_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/unit/config_spec.rb b/spec/unit/config_spec.rb
index 68cb589251..c36f66f18a 100644
--- a/spec/unit/config_spec.rb
+++ b/spec/unit/config_spec.rb
@@ -7,8 +7,8 @@ RSpec.describe Chef::Config do
shared_examples_for "deprecated by ohai but not deprecated" do
it "does not emit a deprecation warning when set" do
- expect(Chef::Log).to_not receive(:warn).
- with(/Ohai::Config\[:#{option}\] is deprecated/)
+ expect(Chef::Log).to_not receive(:warn)
+ .with(/Ohai::Config\[:#{option}\] is deprecated/)
Chef::Config[option] = value
expect(Chef::Config[option]).to eq(value)
end