spec/other/exec_spec.rb in bundler-1.0.18 vs spec/other/exec_spec.rb in bundler-1.0.19.rc
- old
+ new
@@ -31,9 +31,15 @@
bundle "exec 'cd #{tmp('gems')} && rackup'"
out.should == "1.0.0"
end
+ it "works when exec'ing something else" do
+ install_gemfile 'gem "rack"'
+ bundle "exec echo exec"
+ out.should == "exec"
+ end
+
it "handles different versions in different bundles" do
build_repo2 do
build_gem "rack_two", "1.0.0" do |s|
s.executables = "rackup"
end