]> git.openstreetmap.org Git - chef.git/blob - test/integration/chef/inspec/chef_spec.rb
Add test for chef cookbook
[chef.git] / test / integration / chef / inspec / chef_spec.rb
1 describe package("chef") do
2   it { should be_installed }
3 end
4
5 describe systemd_service("chef-client") do
6   it { should be_installed }
7 end
8
9 describe systemd_service("chef-client.timer") do
10   it { should be_installed }
11   it { should be_enabled }
12 end
13
14 describe command("chef-client --version") do
15   its("exit_status") { should eq 0 }
16   its("stdout") { should match /Chef Infra Client/ }
17 end