1 describe package("chef") do
 
   2   it { should be_installed }
 
   5 describe systemd_service("chef-client") do
 
   6   it { should be_installed }
 
   9 describe systemd_service("chef-client.timer") do
 
  10   it { should be_installed }
 
  11   it { should be_enabled }
 
  14 describe command("chef-client --version") do
 
  15   its("exit_status") { should eq 0 }
 
  16   its("stdout") { should match /Chef Infra Client/ }