Skip to content

Commit

Permalink
Skip passenger tests on non-RH and non-Debian
Browse files Browse the repository at this point in the history
Passenger is only supported on these, which means Archlinux tests fail.
  • Loading branch information
ekohl committed Mar 15, 2022
1 parent 6e7596a commit f382b7a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/acceptance/class_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
end
end

context 'nginx with package_source passenger' do
context 'nginx with package_source passenger', if: pkg_cmd do
it 'runs successfully' do
shell(pkg_remove_cmd)
pp = <<-EOS
Expand Down Expand Up @@ -73,7 +73,7 @@ class { 'nginx':
end
end

context 'reset to default parameters' do
context 'reset to default parameters', if: pkg_cmd do
it 'runs successfully' do
shell(pkg_remove_cmd)
pp = "class { 'nginx': }"
Expand Down

0 comments on commit f382b7a

Please sign in to comment.