From 383f57fc8ac9f55fea10beffc7f4cde9b7297182 Mon Sep 17 00:00:00 2001 From: danielsdeleo Date: Mon, 15 Dec 2014 11:06:57 -0800 Subject: Use rspec-2 compatible assertion --- spec/unit/knife_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.1