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

11 lines
199 B
Ruby

require 'minitest/spec'
describe_recipe 'ntp::default' do
it "starts the ntp daemon" do
assert_sh("service ntp status")
end
it "should sync the time" do
assert_sh("ntpq -p")
end
end