summaryrefslogtreecommitdiff
path: root/spec/other
diff options
context:
space:
mode:
Diffstat (limited to 'spec/other')
-rw-r--r--spec/other/gem_helper_spec.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/spec/other/gem_helper_spec.rb b/spec/other/gem_helper_spec.rb
index e1e22b308a..44ed4e0967 100644
--- a/spec/other/gem_helper_spec.rb
+++ b/spec/other/gem_helper_spec.rb
@@ -70,6 +70,9 @@ describe "Bundler::GemHelper tasks" do
mock_confirm_message "Pushed git commits and tags"
@helper.should_receive(:rubygem_push).with(bundled_app('test/pkg/test-0.0.1.gem').to_s)
+ @helper.should_receive(:perform_git_push).with(no_args).once
+ @helper.should_receive(:perform_git_push).with(' --tags').once
+
Dir.chdir(@app) {
`git init --bare #{gem_repo1}`
`git remote add origin file://#{gem_repo1}`