aboutsummaryrefslogtreecommitdiffstats
path: root/spec/runtime
diff options
context:
space:
mode:
authorCarl Lerche <carllerche@mac.com>2010-06-05 19:55:54 -0700
committerCarl Lerche <carllerche@mac.com>2010-06-05 19:55:54 -0700
commit19ad4e1b9a1cfcc5a9ccfd806f7a7a0069d1e9d9 (patch)
tree4378d863e38b89852b41ae477c4e77eef20d69b7 /spec/runtime
parentd2fc45a054337663f2154dd065ea95dfab051579 (diff)
downloadbundler-19ad4e1b9a1cfcc5a9ccfd806f7a7a0069d1e9d9.tar.gz
Don't generate a stub for bundler in ~/.bundler/bin
Diffstat (limited to 'spec/runtime')
-rw-r--r--spec/runtime/executable_spec.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/spec/runtime/executable_spec.rb b/spec/runtime/executable_spec.rb
index c0874529..0b28f093 100644
--- a/spec/runtime/executable_spec.rb
+++ b/spec/runtime/executable_spec.rb
@@ -66,4 +66,13 @@ describe "Running commands" do
out.should == '2.0'
end
end
+
+ it "don't bundle da bundla" do
+ install_gemfile <<-G
+ source "file://#{gem_repo1}"
+ gem "bundler"
+ G
+
+ home(".bundler/bin/bundle").should_not exist
+ end
end \ No newline at end of file