summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2016-12-14 16:48:26 -0800
committerLamont Granquist <lamont@scriptkiddie.org>2016-12-14 16:48:26 -0800
commitb3d72d3b30eaf257642424eedc574d72f66de4e0 (patch)
tree624cd17189eddaf4ec5f4816bb44e1555d214118 /spec
parente4a442d4d70dda5cd1ddc0799690216281a504ec (diff)
downloadchef-b3d72d3b30eaf257642424eedc574d72f66de4e0.tar.gz
refactor to use array indexes instead of package_names
fixes arch array support. pretty sure that my "helpfully" compacting out nils from the names and versions passed to install_package / remove_package was a design flaw now. all of the helpers i've created to translate from package_name to various arrays also assumes the package_name is a unique identifier which is what was going wrong here, and is wrong. best to just have all the arrays indexed the same. Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
Diffstat (limited to 'spec')
-rw-r--r--spec/functional/resource/dnf_package_spec.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/spec/functional/resource/dnf_package_spec.rb b/spec/functional/resource/dnf_package_spec.rb
index 487ddc5171..549bbad768 100644
--- a/spec/functional/resource/dnf_package_spec.rb
+++ b/spec/functional/resource/dnf_package_spec.rb
@@ -421,7 +421,6 @@ gpgcheck=0
# unlikely to work consistently correct, okay to deprecate the arch-array in favor of the arch in the name
it "installs two rpms with multi-arch" do
- skip "isn't going to work without major refactor"
flush_cache
dnf_package.package_name(%w{chef_rpm chef_rpm} )
dnf_package.arch(%w{x86_64 i686})