diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2019-04-29 15:10:36 -0700 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2019-04-29 15:10:36 -0700 |
commit | 688b72f47b4c3a23ca042336ea6c5d1f215ec263 (patch) | |
tree | afd7cea189a44758edae6b711be81d7e7f2d31d2 /spec/functional/version_spec.rb | |
parent | 945b9f6636bb3236999ca43f313113bf74045d82 (diff) | |
download | chef-688b72f47b4c3a23ca042336ea6c5d1f215ec263.tar.gz |
Remove chef-* binstubs from chef gem
This is for the relicensing effort.
Note that this PR leaves the knife and ohai binstubs still in the
gem(s) while that discussion is still ongoing.
This PR extracts the binstubs to chef-binstubs gem which is not intended
to be redistributed outside of the omnibus chef binaries.
A blank gem for chef-binstubs has been pushed to rubygems.org for
obvious security concerns and so that bundler/rubygems can resolve
the gem
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
Diffstat (limited to 'spec/functional/version_spec.rb')
-rw-r--r-- | spec/functional/version_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/functional/version_spec.rb b/spec/functional/version_spec.rb index d968c36e8c..b12d235405 100644 --- a/spec/functional/version_spec.rb +++ b/spec/functional/version_spec.rb @@ -1,6 +1,6 @@ # # Author:: Serdar Sutay (<dan@chef.io>) -# Copyright:: Copyright 2013-2016, Chef Software Inc. +# Copyright:: Copyright 2013-2019, Chef Software Inc. # License:: Apache License, Version 2.0 # # Licensed under the Apache License, Version 2.0 (the "License"); @@ -28,7 +28,7 @@ describe "Chef Versions" do binaries.each do |binary| it "#{binary} version should be sane" do - expect(shell_out!("ruby #{File.join("bin", binary)} -v", cwd: chef_dir).stdout.chomp).to match(/.*: #{Chef::VERSION}/) + expect(shell_out!("bundle exec #{binary} -v", cwd: chef_dir).stdout.chomp).to match(/.*: #{Chef::VERSION}/) end end |