Select Git revision
Forked from
lib / unicaen / auth
Source project has a limited visibility.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
postfix_mta_spec.rb 541 B
require 'spec_helper'
describe 'postfix::mta' do
let (:facts) { {
:lsbdistcodename => 'wheezy',
:osfamily => 'Debian',
} }
let :pre_condition do
"class { 'postfix':
mydestination => 'bar',
mynetworks => 'baz',
relayhost => 'foo',
}"
end
it { is_expected.to contain_postfix__config('mydestination').with_value('bar') }
it { is_expected.to contain_postfix__config('mynetworks').with_value('baz') }
it { is_expected.to contain_postfix__config('relayhost').with_value('foo') }
end