Skip to content

Commit

Permalink
Fix #1190 Accommodate default package name nginx-mainline for Arch
Browse files Browse the repository at this point in the history
  • Loading branch information
JacobHenner committed Mar 16, 2018
1 parent 65b7c74 commit 42ec6d9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions spec/classes/nginx_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,10 @@
it { is_expected.not_to contain_apt__source('nginx') }
it { is_expected.not_to contain_package('passenger') }
end
when 'Archlinux'
context 'using defaults' do
it { is_expected.to contain_package('nginx-mainline') }
end
else
it { is_expected.to contain_package('nginx') }
end
Expand Down

0 comments on commit 42ec6d9

Please sign in to comment.