summaryrefslogtreecommitdiff
path: root/spec/functional
diff options
context:
space:
mode:
authorMarc Chamberland <mchamberland@pbsc.com>2019-05-05 18:55:51 -0400
committerMarc Chamberland <mchamberland@pbsc.com>2019-05-23 12:29:44 -0400
commit44aae2c29d0c4ba28b4dbfc8c638036d8a2663ec (patch)
tree1b1c1aff271923af23e987f36f98183ba20a59c9 /spec/functional
parentf5de2c58ea3705a20a6784251a3cd8a58618f24d (diff)
downloadchef-44aae2c29d0c4ba28b4dbfc8c638036d8a2663ec.tar.gz
distro constants for solo, zero and automate
Signed-off-by: Marc Chamberland <mchamberland@pbsc.com>
Diffstat (limited to 'spec/functional')
-rw-r--r--spec/functional/version_spec.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/spec/functional/version_spec.rb b/spec/functional/version_spec.rb
index b12d235405..246b3a021a 100644
--- a/spec/functional/version_spec.rb
+++ b/spec/functional/version_spec.rb
@@ -19,12 +19,13 @@ require File.expand_path("../../spec_helper", __FILE__)
require "chef/mixin/shell_out"
require "chef/version"
require "ohai/version"
+require "chef/dist"
describe "Chef Versions" do
include Chef::Mixin::ShellOut
let(:chef_dir) { File.join(File.dirname(__FILE__), "..", "..") }
- binaries = [ "chef-client", "chef-shell", "chef-apply", "knife", "chef-solo" ]
+ binaries = [ Chef::Dist::CLIENT, "chef-shell", "chef-apply", "knife", Chef::Dist::SOLOEXEC ]
binaries.each do |binary|
it "#{binary} version should be sane" do