diff --git a/spec/bind.rb b/spec/bind.rb index 21c069c..b632118 100644 --- a/spec/bind.rb +++ b/spec/bind.rb @@ -32,6 +32,11 @@ describe file('/etc/bind/named.conf.local') do it { should contain '4.2.2.4' } end +describe port(53) do + it { should be_listening.with('tcp') } + it { should be_listening.with('udp') } +end + describe command('host hello.test.local 127.0.0.1') do its(:exit_status) { should eq 0 } its(:stdout) { should contain('1.2.3.4') }