Skip to content

Commit

Permalink
Update acceptance tests for Arch Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
bastelfreak committed Dec 5, 2021
1 parent 72287fc commit fa2a42e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion spec/acceptance/class_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@
else
%r{Phusion}
end
when 'Archlinux'
pkg_remove_cmd = 'pacman --remove --noconfirm --nosave --recursive nginx-mainline'
end

context 'default parameters' do
Expand All @@ -42,7 +44,7 @@
end
end

context 'nginx with package_source passenger' do
context 'nginx with package_source passenger', unless: default[:platform] =~ %r{archlinux} do
it 'runs successfully' do
shell(pkg_remove_cmd)
pp = <<-EOS
Expand Down

0 comments on commit fa2a42e

Please sign in to comment.