Skip to content

Commit

Permalink
Fix acceptance tests broken since nginx 1.16
Browse files Browse the repository at this point in the history
  • Loading branch information
alexjfisher committed May 8, 2019
1 parent 16a7640 commit 11dfa94
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion spec/acceptance/nginx_server_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,8 @@ class { 'nginx': }

describe file('/etc/nginx/sites-available/www.puppetlabs.com.conf') do
it { is_expected.to be_file }
it { is_expected.to contain 'ssl on;' }
it { is_expected.not_to contain 'ssl on;' } # As of nginx 1.15 (1.16 stable), this will not be set.
it { is_expected.to contain 'listen *:443 ssl;' }
end

describe file('/etc/nginx/sites-enabled/www.puppetlabs.com.conf') do
Expand Down

0 comments on commit 11dfa94

Please sign in to comment.