diff options
author | Andre Arko <andre@arko.net> | 2013-08-04 16:52:28 -0700 |
---|---|---|
committer | Andre Arko <andre@arko.net> | 2013-08-04 16:53:36 -0700 |
commit | 558f4603300df7f23006f000d5b3749fa0029039 (patch) | |
tree | 469a05dd1cf261b2ec938a215aa3d3d3b128cd94 /spec | |
parent | 0f97614799350b380380792494c59b898ea059a9 (diff) | |
download | bundler-558f4603300df7f23006f000d5b3749fa0029039.tar.gz |
Test for "bundle exec ruby".
Does not pass if #2118 is applied.
closes #2118
Diffstat (limited to 'spec')
-rw-r--r-- | spec/other/exec_spec.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/spec/other/exec_spec.rb b/spec/other/exec_spec.rb index 4ed9f2f6aa..ed03e2b0a9 100644 --- a/spec/other/exec_spec.rb +++ b/spec/other/exec_spec.rb @@ -39,6 +39,12 @@ describe "bundle exec" do expect(out).to eq("exec") end + it "works when exec'ing to ruby" do + install_gemfile 'gem "rack"' + bundle "exec ruby -e 'puts %{hi}'" + expect(out).to eq("hi") + end + it "accepts --verbose" do install_gemfile 'gem "rack"' bundle "exec --verbose echo foobar" |