Skip to content

Commit fa2a42e

Browse files
committed
Update acceptance tests for Arch Linux
1 parent 72287fc commit fa2a42e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

spec/acceptance/class_spec.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@
2222
else
2323
%r{Phusion}
2424
end
25+
when 'Archlinux'
26+
pkg_remove_cmd = 'pacman --remove --noconfirm --nosave --recursive nginx-mainline'
2527
end
2628

2729
context 'default parameters' do
@@ -42,7 +44,7 @@
4244
end
4345
end
4446

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

0 commit comments

Comments
 (0)