diff options
-rw-r--r-- | spec/functional/resource/yum_package_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/functional/resource/yum_package_spec.rb b/spec/functional/resource/yum_package_spec.rb index 2135d23341..9b127def8e 100644 --- a/spec/functional/resource/yum_package_spec.rb +++ b/spec/functional/resource/yum_package_spec.rb @@ -238,8 +238,8 @@ describe Chef::Resource::YumPackage, :requires_root, external: exclude_test do end end - # 0:1.2 0:1*-1 doesn't work on yum/el6 - %w{1* 1*-1 1*-* 0:1* *:1*-* 0:1.2-1}.each do |vstring| + # 0:1.2-1 0:1.2 0:1*-1 doesn't work on yum/el6 + %w{1* 1*-1 1*-* 0:1* *:1*-*}.each do |vstring| it "upgrades when #{vstring} is in the version property on upgrade and it matches the candidate version" do preinstall("chef_rpm-1.2-1.#{pkg_arch}.rpm") yum_package "chef_rpm" do |