diff options
author | Konstantin Haase <konstantin.mailinglists@googlemail.com> | 2012-05-21 16:25:09 +0200 |
---|---|---|
committer | Konstantin Haase <konstantin.mailinglists@googlemail.com> | 2012-05-21 16:25:09 +0200 |
commit | 3366c03ebdb76186d774c7b39c199a8a0ccafede (patch) | |
tree | 2f3196f5acd1164c5bfb1fbfe512b3558c46d9a0 /spec | |
parent | 4ff58389a147d7271d257bef80f7eeb59d8ff61a (diff) | |
download | bundler-3366c03ebdb76186d774c7b39c199a8a0ccafede.tar.gz |
do not explode if branch is not given for local git repos
Diffstat (limited to 'spec')
-rw-r--r-- | spec/install/git_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/install/git_spec.rb b/spec/install/git_spec.rb index 048880bab5..c1c3af54a4 100644 --- a/spec/install/git_spec.rb +++ b/spec/install/git_spec.rb @@ -254,7 +254,7 @@ describe "bundle install with git sources" do out.should =~ /Cannot use local override for rack-0.8 because #{Regexp.escape(lib_path('local-rack').to_s)} does not exist/ end - it "explodes if branch is not given" do + it "does not explode if branch is not given" do build_git "rack", "0.8" FileUtils.cp_r("#{lib_path('rack-0.8')}/.", lib_path('local-rack')) @@ -265,7 +265,7 @@ describe "bundle install with git sources" do bundle %|config local.rack #{lib_path('local-rack')}| bundle :install - out.should =~ /because :branch is not specified in Gemfile/ + out.should =~ /Your bundle is complete!/ end it "explodes on different branches" do |