[COOK-4619] - no way to unset recipient_delimiter
Signed-off-by: Sean OMeara <someara@opscode.com>
This commit is contained in:
committed by
Sean OMeara
parent
f27480fa4c
commit
0a42b0722b
@@ -28,7 +28,7 @@ describe 'postfix::default' do
|
||||
|
||||
context 'configures' do
|
||||
describe file('/etc/postfix/main.cf') do
|
||||
its(:content) { should match /^# Generated by Chef for / }
|
||||
its(:content) { should match(/^# Generated by Chef for /) }
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
@@ -19,12 +19,10 @@ 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(/^# This file is generated by Chef for/)
|
||||
end
|
||||
|
||||
it 'configures postfix to use the sasl_passwd file' do
|
||||
expect(file('/etc/postfix/main.cf').content).
|
||||
to match(/^\s*smtp_sasl_password_maps\s*=.*#{sasl_passwd_file}\s*$/)
|
||||
expect(file('/etc/postfix/main.cf').content).to match(/^\s*smtp_sasl_password_maps\s*=.*#{sasl_passwd_file}\s*$/)
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user