summaryrefslogtreecommitdiff
path: root/spec/update/git_spec.rb
diff options
context:
space:
mode:
authorwycats <wycats@gmail.com>2010-07-09 13:00:20 -0700
committerwycats <wycats@gmail.com>2010-07-09 13:00:20 -0700
commitd7e1dc1ef387eea787a634382d8f7401bffcdeea (patch)
tree15b86b493db537bbea3d3635afe7587b2160cc48 /spec/update/git_spec.rb
parentce7db1b17ffe43582258b18fb196aad0ec67bc42 (diff)
downloadbundler-d7e1dc1ef387eea787a634382d8f7401bffcdeea.tar.gz
Remove standalone #git in the DSL. Instead, use the block form of #git and put in the associated gems
Diffstat (limited to 'spec/update/git_spec.rb')
-rw-r--r--spec/update/git_spec.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/spec/update/git_spec.rb b/spec/update/git_spec.rb
index 238550f5df..8f9f125c52 100644
--- a/spec/update/git_spec.rb
+++ b/spec/update/git_spec.rb
@@ -7,8 +7,9 @@ describe "bundle update" do
update_git "foo", :branch => "omg"
install_gemfile <<-G
- git "#{lib_path('foo-1.0')}", :branch => "omg"
- gem 'foo'
+ git "#{lib_path('foo-1.0')}", :branch => "omg" do
+ gem 'foo'
+ end
G
update_git "foo", :branch => "omg" do |s|