summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordanielsdeleo <dan@getchef.com>2014-12-15 11:06:57 -0800
committerdanielsdeleo <dan@getchef.com>2014-12-15 11:21:01 -0800
commit383f57fc8ac9f55fea10beffc7f4cde9b7297182 (patch)
tree260287332435dfe9a6d0664bdd4ee781139199e9
parent679a80145249b54bc935335b98090c98e9d08aec (diff)
downloadchef-383f57fc8ac9f55fea10beffc7f4cde9b7297182.tar.gz
Use rspec-2 compatible assertion
-rw-r--r--spec/unit/knife_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/knife_spec.rb b/spec/unit/knife_spec.rb
index b196edcafe..86f53f6af7 100644
--- a/spec/unit/knife_spec.rb
+++ b/spec/unit/knife_spec.rb
@@ -311,7 +311,7 @@ describe Chef::Knife do
end
it "does not have lazy dependencies loaded" do
- expect(knife.class.test_deps_loaded).not_to be_truthy
+ expect(knife.class.test_deps_loaded).to be(nil)
end
end