summaryrefslogtreecommitdiff
path: root/spec/functional
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2018-11-07 10:20:31 -0800
committerLamont Granquist <lamont@scriptkiddie.org>2018-11-07 10:20:31 -0800
commit7a95a72420f92fdcb79e547eeaa7c4ecad061098 (patch)
tree30731fc79137cb211ae35c0063d87db7fad96e74 /spec/functional
parent32868d3496407e348acb74102662431330b40179 (diff)
downloadchef-lcg/yum-version-with-package-source.tar.gz
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
Diffstat (limited to 'spec/functional')
-rw-r--r--spec/functional/resource/yum_package_spec.rb4
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 abf67b6369..cde193db70 100644
--- a/spec/functional/resource/yum_package_spec.rb
+++ b/spec/functional/resource/yum_package_spec.rb
@@ -488,7 +488,7 @@ describe Chef::Resource::YumPackage, :requires_root, external: exclude_test do
it "is idempotent when the package is already installed and there is a version string" do
preinstall("chef_rpm-1.2-1.#{pkg_arch}.rpm")
- yum_packger.version "1.2-1"
+ yum_package.version "1.2-1"
yum_package.package_name("#{CHEF_SPEC_ASSETS}/yumrepo/chef_rpm-1.2-1.#{pkg_arch}.rpm")
yum_package.run_action(:install)
expect(yum_package.updated_by_last_action?).to be false
@@ -497,7 +497,7 @@ describe Chef::Resource::YumPackage, :requires_root, external: exclude_test do
it "is idempotent when the package is already installed and there is a version string with arch" do
preinstall("chef_rpm-1.2-1.#{pkg_arch}.rpm")
- yum_packger.version "1.2-1.#{pkg_arch}"
+ yum_package.version "1.2-1.#{pkg_arch}"
yum_package.package_name("#{CHEF_SPEC_ASSETS}/yumrepo/chef_rpm-1.2-1.#{pkg_arch}.rpm")
yum_package.run_action(:install)
expect(yum_package.updated_by_last_action?).to be false