summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNaomi Reeves <naomi.c.reeves@gmail.com>2017-09-28 23:56:52 -0700
committerNaomi Reeves <naomi.c.reeves@gmail.com>2017-09-28 23:59:00 -0700
commita9bca6f5bdafa743c15a3bd299892af7e8feb2c8 (patch)
treed1068ff0e715408bc6a60360451727e8ef54e262
parent0e32dcb516a68c3c31f8238e9333749b788895d8 (diff)
downloadchef-a9bca6f5bdafa743c15a3bd299892af7e8feb2c8.tar.gz
fix tests
Signed-off-by: Naomi Reeves <naomi.c.reeves@gmail.com>
-rw-r--r--spec/unit/provider_resolver_spec.rb5
1 files changed, 4 insertions, 1 deletions
diff --git a/spec/unit/provider_resolver_spec.rb b/spec/unit/provider_resolver_spec.rb
index 56bc27d075..fc50336fee 100644
--- a/spec/unit/provider_resolver_spec.rb
+++ b/spec/unit/provider_resolver_spec.rb
@@ -709,18 +709,21 @@ describe Chef::ProviderResolver do
"rhel" => {
# service: [ Chef::Resource::SystemdService, Chef::Provider::Service::Systemd ],
- package: [ Chef::Resource::YumPackage, Chef::Provider::Package::Yum ],
+ package: [ Chef::Resource::DnfPackage, Chef::Provider::Package::Dnf ],
ifconfig: [ Chef::Resource::Ifconfig, Chef::Provider::Ifconfig::Redhat ],
%w{amazon xcp xenserver ibm_powerkvm cloudlinux parallels} => {
"3.1.4" => {
+ package: [ Chef::Resource::YumPackage, Chef::Provider::Package::Yum ],
# service: [ Chef::Resource::RedhatService, Chef::Provider::Service::Redhat ],
},
},
%w{redhat centos scientific oracle} => {
"7.0" => {
+ package: [ Chef::Resource::YumPackage, Chef::Provider::Package::Yum ],
},
"6.0" => {
+ package: [ Chef::Resource::YumPackage, Chef::Provider::Package::Yum ],
# service: [ Chef::Resource::RedhatService, Chef::Provider::Service::Redhat ],
},
},