summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSalim Alam <salam@chef.io>2016-02-08 17:22:51 -0800
committerSalim Alam <salam@chef.io>2016-02-08 17:22:51 -0800
commit9c5e9f361c3ad5b648363cf4452ecd06551e0674 (patch)
tree62f68c6eea9708a2fffcbaebc90f0bf0478b00bf
parentd3811177c24b495c3e03def480dd7094847dad18 (diff)
downloadchef-9c5e9f361c3ad5b648363cf4452ecd06551e0674.tar.gz
Fixup trivial version test
-rw-r--r--acceptance/trivial/test/integration/chef-current-install/inspec/chef_client_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/acceptance/trivial/test/integration/chef-current-install/inspec/chef_client_spec.rb b/acceptance/trivial/test/integration/chef-current-install/inspec/chef_client_spec.rb
index f125d70953..05c1331744 100644
--- a/acceptance/trivial/test/integration/chef-current-install/inspec/chef_client_spec.rb
+++ b/acceptance/trivial/test/integration/chef-current-install/inspec/chef_client_spec.rb
@@ -1,5 +1,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}/ }
+ its(:stdout) { should match /Chef: #{chef_version}/ } if chef_version != "latest"
end