52. describe Array, "when empty" do
before do
@empty_array = []
end
it "should be empty" do
@empty_array.should be_empty
end
it "should size 0" do
@empty_array.size.should == 0
end
end
55. describe package('httpd') do
it { should be_installed }
end
describe service('httpd') do
it { should be_enabled }
it { should be_running }
end
describe port(80) do
it { should be_listening }
end
85. command cron default_gateway
file group host ipfilter ipnat
iptables kernel_module
linux_kernel_parrameter package
port routing_table selinux
service user zfs
http://serverspec.org/resource_types.html