diff --git a/test/integration/aliases/serverspec/aliases_spec.rb b/test/integration/aliases/serverspec/aliases_spec.rb index 644298e..7376e79 100644 --- a/test/integration/aliases/serverspec/aliases_spec.rb +++ b/test/integration/aliases/serverspec/aliases_spec.rb @@ -18,7 +18,7 @@ require_relative './spec_helper' describe 'postfix::aliases' do context 'configures' do describe file('/etc/aliases') do - its(:content) { should match(/^# This file is generated by Chef for/) } + its(:content) { should match(/^# Auto-generated by Chef/) } end end end diff --git a/test/integration/default/serverspec/default_spec.rb b/test/integration/default/serverspec/default_spec.rb index 2217efe..9ff44b4 100644 --- a/test/integration/default/serverspec/default_spec.rb +++ b/test/integration/default/serverspec/default_spec.rb @@ -27,7 +27,7 @@ describe 'postfix::default' do context 'configures' do describe file("#{postfix_conf_path}/main.cf") do - its(:content) { should match(/^# Generated by Chef for /) } + its(:content) { should match(/^# Auto-generated by Chef/) } end end end diff --git a/test/integration/sasl_auth/serverspec/sasl_auth_spec.rb b/test/integration/sasl_auth/serverspec/sasl_auth_spec.rb index 1df5ad2..34b1888 100644 --- a/test/integration/sasl_auth/serverspec/sasl_auth_spec.rb +++ b/test/integration/sasl_auth/serverspec/sasl_auth_spec.rb @@ -18,7 +18,7 @@ describe 'postfix::sasl_auth' do let(:sasl_passwd_file) { '/etc/postfix/sasl_passwd' } it 'manages postfix sasl_passwd' do - expect(file(sasl_passwd_file).content).to match(/^# This file is generated by Chef for/) + expect(file(sasl_passwd_file).content).to match(/^# Auto-generated by Chef/) end it 'configures postfix to use the sasl_passwd file' do