blob: 05c1331744207a4047ee4bc854d85a8c769ed9e1 (
plain)
1
2
3
4
5
|
chef_version = ENV["KITCHEN_CHEF_VERSION"].split("+")[0]
describe command("chef-client -v") do
its("exit_status") { should eq 0 }
its(:stdout) { should match /Chef: #{chef_version}/ } if chef_version != "latest"
end
|