summaryrefslogtreecommitdiff
path: root/spec/other
diff options
context:
space:
mode:
authorJoshua Hull <joshbuddy@gmail.com>2010-08-27 20:59:12 -0500
committerJoshua Hull <joshbuddy@gmail.com>2010-08-27 20:59:29 -0500
commit713f6d74217287e641fa82ffa7b32194c2d24f42 (patch)
tree6e56f3b457a8a008868f14e8b8f8fab5e03724dd /spec/other
parentb37d73403af7a2eb9dc9689f995b802382584768 (diff)
downloadbundler-713f6d74217287e641fa82ffa7b32194c2d24f42.tar.gz
Rename GemHelper push to release
Diffstat (limited to 'spec/other')
-rw-r--r--spec/other/gem_helper_spec.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/other/gem_helper_spec.rb b/spec/other/gem_helper_spec.rb
index 39acf77830..e1e22b308a 100644
--- a/spec/other/gem_helper_spec.rb
+++ b/spec/other/gem_helper_spec.rb
@@ -61,10 +61,10 @@ describe "Bundler::GemHelper tasks" do
end
it "shouldn't push if there are uncommitted files" do
- proc { @helper.push_gem }.should raise_error(/files that need to be committed/)
+ proc { @helper.release_gem }.should raise_error(/files that need to be committed/)
end
- it "pushes" do
+ it "releases" do
mock_build_message
mock_confirm_message /Tagged [\da-f]+ with v0.0.1/
mock_confirm_message "Pushed git commits and tags"
@@ -75,7 +75,7 @@ describe "Bundler::GemHelper tasks" do
`git remote add origin file://#{gem_repo1}`
`git commit -a -m"initial commit"`
}
- @helper.push_gem
+ @helper.release_gem
end
end
end