Permalink
Browse files

add failing spec for global options breaking exec

  • Loading branch information...
1 parent c52eaed commit 9bb81b25b9dca17e4a21b2e5f545ca18b6fada2e @indirect indirect committed Sep 19, 2011
Showing with 6 additions and 0 deletions.
  1. +6 −0 spec/other/exec_spec.rb
View
6 spec/other/exec_spec.rb
@@ -39,6 +39,12 @@
out.should == "exec"
end
+ it "works when exec'ing with an option bundler has" do
+ install_gemfile 'gem "rack"'
+ bundle "exec echo --no-color foo"
+ out.should == "--no-color foo"
+ end
+
it "handles different versions in different bundles" do
build_repo2 do
build_gem "rack_two", "1.0.0" do |s|

0 comments on commit 9bb81b2

Please sign in to comment.