diff options
author | Tim Smith <tsmith@chef.io> | 2021-04-07 17:00:37 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-07 17:00:37 -0700 |
commit | 1f44afde4de1a2e0e01d1172adb822e4dd762d56 (patch) | |
tree | 5f8e416a340e367394ffa47aa7a9b30a9b153878 | |
parent | 02296a7dd6bfc98a7ef17e48e9e650d7bcf3958f (diff) | |
parent | 578ea82edde44160bbbcc48f537cb367702cc37f (diff) | |
download | chef-1f44afde4de1a2e0e01d1172adb822e4dd762d56.tar.gz |
Merge pull request #11329 from chef/fix_fauxhai
Fix failing Fauxhai related specs
-rw-r--r-- | chef-utils/spec/unit/dsl/platform_family_spec.rb | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/chef-utils/spec/unit/dsl/platform_family_spec.rb b/chef-utils/spec/unit/dsl/platform_family_spec.rb index fdf4584afd..714a9f0a45 100644 --- a/chef-utils/spec/unit/dsl/platform_family_spec.rb +++ b/chef-utils/spec/unit/dsl/platform_family_spec.rb @@ -90,13 +90,13 @@ RSpec.describe ChefUtils::DSL::PlatformFamily do end context "on centos6" do - let(:options) { { platform: "centos", version: "6.10" } } + let(:options) { { platform: "centos", version: "6" } } pf_reports_true_for(:rhel?, :rpm_based?, :fedora_derived?, :redhat_based?, :el?, :rhel6?) end context "on centos7" do - let(:options) { { platform: "centos", version: "7.7.1908" } } + let(:options) { { platform: "centos", version: "7" } } pf_reports_true_for(:rhel?, :rpm_based?, :fedora_derived?, :redhat_based?, :el?, :rhel7?) end @@ -108,7 +108,7 @@ RSpec.describe ChefUtils::DSL::PlatformFamily do end context "on clearos7" do - let(:options) { { platform: "clearos", version: "7.4" } } + let(:options) { { platform: "clearos", version: "7" } } pf_reports_true_for(:rhel?, :rpm_based?, :fedora_derived?, :redhat_based?, :el?, :rhel7?) end @@ -156,25 +156,25 @@ RSpec.describe ChefUtils::DSL::PlatformFamily do end context "on oracle6" do - let(:options) { { platform: "oracle", version: "6.10" } } + let(:options) { { platform: "oracle", version: "6" } } pf_reports_true_for(:rhel?, :rpm_based?, :fedora_derived?, :redhat_based?, :el?, :rhel6?) end context "on oracle7" do - let(:options) { { platform: "oracle", version: "7.6" } } + let(:options) { { platform: "oracle", version: "7" } } pf_reports_true_for(:rhel?, :rpm_based?, :fedora_derived?, :redhat_based?, :el?, :rhel7?) end context "on redhat6" do - let(:options) { { platform: "redhat", version: "6.10" } } + let(:options) { { platform: "redhat", version: "6" } } pf_reports_true_for(:rhel?, :rpm_based?, :fedora_derived?, :redhat_based?, :el?, :rhel6?) end context "on redhat7" do - let(:options) { { platform: "redhat", version: "7.6" } } + let(:options) { { platform: "redhat", version: "7" } } pf_reports_true_for(:rhel?, :rpm_based?, :fedora_derived?, :redhat_based?, :el?, :rhel7?) end |