summaryrefslogtreecommitdiff
path: root/spec/unit/resource/conditional_spec.rb
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2017-12-18 16:53:17 -0800
committerTim Smith <tsmith@chef.io>2017-12-18 16:53:17 -0800
commit17f85426ed747ce7ba3e56a2bce241b317fb99ae (patch)
tree0ce1748290003126e3772bf3b4d2fc2358695894 /spec/unit/resource/conditional_spec.rb
parent7556053a3cc06db5ef778526a025e408f5e1b397 (diff)
downloadchef-17f85426ed747ce7ba3e56a2bce241b317fb99ae.tar.gz
Cleanup for resource specs
Convert everything to let and update the tense Nothing real magical here, but gets us one step closer to uniformity in the specs Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'spec/unit/resource/conditional_spec.rb')
-rw-r--r--spec/unit/resource/conditional_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/unit/resource/conditional_spec.rb b/spec/unit/resource/conditional_spec.rb
index 0219945936..9a5f0a59bb 100644
--- a/spec/unit/resource/conditional_spec.rb
+++ b/spec/unit/resource/conditional_spec.rb
@@ -99,7 +99,7 @@ describe Chef::Resource::Conditional do
expect(@conditional.continue?).to be_falsey
end
- it "should log a warning" do
+ it "logs a warning" do
expect(Chef::Log).to receive(:warn).with("Command 'false' timed out")
@conditional.continue?
end
@@ -202,7 +202,7 @@ describe Chef::Resource::Conditional do
expect(@conditional.continue?).to be_truthy
end
- it "should log a warning" do
+ it "logs a warning" do
expect(Chef::Log).to receive(:warn).with("Command 'false' timed out")
@conditional.continue?
end