summaryrefslogtreecommitdiff
path: root/spec/unit/cookbook
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2015-10-20 16:49:47 -0700
committerLamont Granquist <lamont@scriptkiddie.org>2015-10-26 16:21:06 -0700
commit0d30152ca4424e80714cdee66acabf60b5056c6b (patch)
tree3ce0a2f52f45512eb4627852154c281d759ded9c /spec/unit/cookbook
parent324fddbb0d2d6ecdd63c0044eaf07e18d1e2de7b (diff)
downloadchef-0d30152ca4424e80714cdee66acabf60b5056c6b.tar.gz
fix some busted specs
Diffstat (limited to 'spec/unit/cookbook')
-rw-r--r--spec/unit/cookbook/metadata_spec.rb2
1 files changed, 1 insertions, 1 deletions
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