examples/spec_examples/files/default/tests/minitest/default_test.rb in minitest-chef-handler-1.0.1 vs examples/spec_examples/files/default/tests/minitest/default_test.rb in minitest-chef-handler-1.0.2

- old
+ new

@@ -99,11 +99,11 @@ # = Links = it "symlinks the foo in" do link("/tmp/foo-symbolic").must_exist.with( :link_type, :symbolic).and(:to, "/tmp/foo") - assert_symlinked_file "/tmp/foo-symbolic", "root", "root", 0600 + assert_symlinked_file "/tmp/foo-symbolic", "root", "root", 0644 end end describe "packages" do # = Checking for package install = @@ -136,16 +136,17 @@ end describe "services" do # You can assert that a service must be running following the converge: it "runs as a daemon" do - service("ntp").must_be_running + service("ssh").must_be_running end # And that it will start when the server boots: - it "boots on startup" do - service("ntp").must_be_enabled - end + # Pending FIXME: Chef::Provider::Service::Upstart is not supported by default + it "boots on startup" #do + # service("ssh").must_be_enabled + #end end describe "users and groups" do # = Users =