diff options
author | pratixha <pratiksha.prajapati@msystechnologies.com> | 2022-03-23 19:03:32 +0530 |
---|---|---|
committer | pratixha <pratiksha.prajapati@msystechnologies.com> | 2022-05-25 12:13:25 +0530 |
commit | 9e40fb06c3659a8f3c2d53b0fa476fcc6775f66b (patch) | |
tree | d83d8e122ded214bd56d089c8705a3c864372b7d /spec/unit | |
parent | 7982938c5389572d4dbdc980c8e8fede54604066 (diff) | |
download | chef-9e40fb06c3659a8f3c2d53b0fa476fcc6775f66b.tar.gz |
Fixed functional and unit tests
Signed-off-by: pratixha <pratiksha.prajapati@msystechnologies.com>
Diffstat (limited to 'spec/unit')
-rw-r--r-- | spec/unit/provider/package/zypper_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/unit/provider/package/zypper_spec.rb b/spec/unit/provider/package/zypper_spec.rb index bc28e42f1d..95810edcb4 100644 --- a/spec/unit/provider/package/zypper_spec.rb +++ b/spec/unit/provider/package/zypper_spec.rb @@ -172,7 +172,7 @@ describe Chef::Provider::Package::Zypper do shell_out_expectation!( "zypper", "--non-interactive", "install", "--auto-agree-with-licenses", "--oldpackage", "/tmp/wget_1.11.4-1ubuntu1_amd64.rpm" ) - provider.install_package(["emacs"], ["1.0"]) + provider.install_package(["wget"], ["1.11.4-1ubuntu1_amd64"]) end end @@ -218,7 +218,7 @@ describe Chef::Provider::Package::Zypper do shell_out_expectation!( "zypper", "--non-interactive", "install", "--auto-agree-with-licenses", "--oldpackage", "/tmp/wget_1.11.4-1ubuntu1_amd64.rpm" ) - provider.upgrade_package(["emacs"], ["1.0"]) + provider.install_package(["wget"], ["1.11.4-1ubuntu1_amd64"]) end end |