diff --git a/spec/classes/nginx_spec.rb b/spec/classes/nginx_spec.rb index 790b77f7f..174b59cc4 100644 --- a/spec/classes/nginx_spec.rb +++ b/spec/classes/nginx_spec.rb @@ -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