Sha256: 039380b8286d56d439aeb044f0c1d86d9368ea0165c91b5c3cb4f40048758d8a

Contents?: true

Size: 243 Bytes

Versions: 6

Compression:

Stored size: 243 Bytes

Contents

chef_version = ENV["KITCHEN_CHEF_VERSION"].split("+")[0]
describe command("chef -v") do
  its("exit_status") { should eq 0 }
  its(:stdout) { should match(/Chef Development Kit Version: #{chef_version}/) } if chef_version != "latest"
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
chef-dk-3.6.57 acceptance/trivial/test/integration/chefdk-current-install/inspec/chef_client_spec.rb
chef-dk-3.5.13 acceptance/trivial/test/integration/chefdk-current-install/inspec/chef_client_spec.rb
chef-dk-3.4.38 acceptance/trivial/test/integration/chefdk-current-install/inspec/chef_client_spec.rb
chef-dk-3.3.23 acceptance/trivial/test/integration/chefdk-current-install/inspec/chef_client_spec.rb
chef-dk-3.2.30 acceptance/trivial/test/integration/chefdk-current-install/inspec/chef_client_spec.rb
chef-dk-3.1.0 acceptance/trivial/test/integration/chefdk-current-install/inspec/chef_client_spec.rb