describe command('chef-client -v') do
  its('stdout') { should match '^Chef: 13.6.0' }
end

describe command('/opt/chef/embedded/bin/gem -v') do
  its('stdout') { should cmp >= '2.6.11' }
end

describe command('chef-client -v') do
  target_version = ENV['OMNIBUS_CHEF_VERSION'] || '13.6.0'
  its('stdout') { should match "^Chef: #{target_version}" }
end

describe command('/opt/chef/embedded/bin/gem -v') do
  its('stdout') { should cmp >= '2.6.11' }
end

Make the test rely on the environment
Make the test rely on the environment

Signed-off-by: Stuart Preston <1c8c08db85a36cc69d975124539be839dea91342@chef.io>
