Update tests for new config comment blocks

Signed-off-by: Tim Smith <tsmith@chef.io>
This commit is contained in:
Tim Smith 2016-09-09 00:13:56 -07:00
parent 82bb0b1591
commit 87f7c652fe
No known key found for this signature in database
GPG Key ID: D69A69D126DD1300
3 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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

View File

@ -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