Skip to content

Commit

Permalink
Fix voxpupuli#1190 Accommodate default package name nginx-mainline fo…
Browse files Browse the repository at this point in the history
…r Arch
  • Loading branch information
JacobHenner committed Mar 16, 2018
1 parent 65b7c74 commit c3d751f
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 c3d751f

Please sign in to comment.