summaryrefslogtreecommitdiff
path: root/spec/other
diff options
context:
space:
mode:
Diffstat (limited to 'spec/other')
-rw-r--r--spec/other/exec_spec.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/spec/other/exec_spec.rb b/spec/other/exec_spec.rb
index 94e6408f2b..befd61e59c 100644
--- a/spec/other/exec_spec.rb
+++ b/spec/other/exec_spec.rb
@@ -33,6 +33,12 @@ describe "bundle exec" do
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|