Revision 45c9c9e9
Added by Michael Moll about 9 years ago
spec/defines/dns_zone_spec.rb | ||
---|---|---|
end
|
||
end
|
||
|
||
context 'when soa is not a part of the zone' do
|
||
let(:params) {{ :soa => 'foo.example.tld', :zone => 'example.com' }}
|
||
it "should raise an error" do
|
||
expect { should compile }.to raise_error(/soa must be within the defined zone/)
|
||
end
|
||
end
|
||
end
|
Also available in: Unified diff
remove check if SOA record is in the same zone