diff options
author | Xabier de Zuazo <xabier@onddo.com> | 2013-02-10 23:03:01 +0100 |
---|---|---|
committer | Bryan McLellan <btm@opscode.com> | 2013-04-11 13:04:33 -0700 |
commit | fc747469d0a2fdd7d50bd307a8a288c467625c88 (patch) | |
tree | 13c0d5da5a2e4356f6a44439ecbc368b977be032 /spec/unit/cookbook_version_spec.rb | |
parent | c106884cb22e6db9f80125a76e8a712a16085a2a (diff) | |
download | chef-fc747469d0a2fdd7d50bd307a8a288c467625c88.tar.gz |
[CHEF-3919] Some broken test fixed
Diffstat (limited to 'spec/unit/cookbook_version_spec.rb')
-rw-r--r-- | spec/unit/cookbook_version_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/cookbook_version_spec.rb b/spec/unit/cookbook_version_spec.rb index 85e1db1fae..7244f47557 100644 --- a/spec/unit/cookbook_version_spec.rb +++ b/spec/unit/cookbook_version_spec.rb @@ -294,7 +294,7 @@ describe Chef::CookbookVersion do end it "should raise InvalidVersion for bad cookbook versions" do - bad_versions = ["1.2.3.4", "1.2.a4", "1", "a", "1.2 3", "1.2 a", + bad_versions = ["1.2.3.4", "1.2.a4", "a", "1.2 3", "1.2 a", "1 2 3", "1-2-3", "1_2_3", "1.2_3", "1.2-3"] the_error = Chef::Exceptions::InvalidCookbookVersion bad_versions.each do |v| |