Skip to content

Commit

Permalink
test(package_spec): adjust to work across all platforms
Browse files Browse the repository at this point in the history
  • Loading branch information
myii committed Feb 15, 2021
1 parent 36d7d80 commit e969de0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/integration/default/controls/package_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
title 'should be installed'

package_name =
case os[:family]
when 'debian', 'suse'
'vim'
else
case platform[:family]
when 'redhat', 'fedora'
'vim-enhanced'
else
'vim'
end

describe package(package_name) do
Expand Down

0 comments on commit e969de0

Please sign in to comment.