chef-lctp/site-cookbooks/bind/files/default/test/default_test.rb

11 lines
219 B
Ruby
Raw Normal View History

2014-01-21 22:11:25 +00:00
require 'minitest/spec'
describe_recipe 'bind::default' do
it "starts the named daemon" do
assert_sh("service bind9 status")
end
it "should resolve dns" do
assert_sh("dig localhost @localhost")
end
end