basic spec for ntp cookbook

This commit is contained in:
Jörg Thalheim 2014-01-22 10:32:39 +01:00
parent cbc5e3b091
commit cc433d47f9
1 changed files with 10 additions and 0 deletions

View File

@ -0,0 +1,10 @@
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