summaryrefslogtreecommitdiff
path: root/spec/functional/version_spec.rb
diff options
context:
space:
mode:
authorsersut <serdar@opscode.com>2013-10-21 16:29:15 -0700
committersersut <serdar@opscode.com>2013-10-21 16:29:15 -0700
commit202e837298882e0df52674270f93bfdc059d69d4 (patch)
treea477ea2f8b469f43f83235f7a7518e1312bcf16f /spec/functional/version_spec.rb
parentab49a996da6735b45b0790a5dc148e3b544d5a95 (diff)
downloadchef-202e837298882e0df52674270f93bfdc059d69d4.tar.gz
Execute binaries using ruby so that they can execute everywhere.
Diffstat (limited to 'spec/functional/version_spec.rb')
-rw-r--r--spec/functional/version_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/functional/version_spec.rb b/spec/functional/version_spec.rb
index a7e99d48e3..a342206161 100644
--- a/spec/functional/version_spec.rb
+++ b/spec/functional/version_spec.rb
@@ -28,7 +28,7 @@ describe "Chef Versions" do
binaries.each do |binary|
it "#{binary} version should be sane" do
- shell_out!("bundle exec #{binary} -v", :cwd => chef_dir).stdout.chomp.should == "Chef: #{Chef::VERSION}"
+ shell_out!("ruby #{File.join("bin", binary)} -v", :cwd => chef_dir).stdout.chomp.should == "Chef: #{Chef::VERSION}"
end
end