From 0d30152ca4424e80714cdee66acabf60b5056c6b Mon Sep 17 00:00:00 2001 From: Lamont Granquist Date: Tue, 20 Oct 2015 16:49:47 -0700 Subject: fix some busted specs --- spec/unit/cookbook/metadata_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'spec/unit') diff --git a/spec/unit/cookbook/metadata_spec.rb b/spec/unit/cookbook/metadata_spec.rb index 0215858180..d91b84d9f2 100644 --- a/spec/unit/cookbook/metadata_spec.rb +++ b/spec/unit/cookbook/metadata_spec.rb @@ -354,7 +354,7 @@ describe Chef::Cookbook::Metadata do it "should fail validation on a simple pessimistic constraint" do expect_chef_version_works(["~> 999.0"]) - expect { metadata.validate_chef_version! }.not_to raise_error(Chef::Exceptions::CookbookChefVersionMismatch) + expect { metadata.validate_chef_version! }.to raise_error(Chef::Exceptions::CookbookChefVersionMismatch) end it "should fail validation when that valid chef versions are too big" do -- cgit v1.2.1