Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Renamed run_predeploy_task method. #88

Merged
merged 1 commit into from

2 participants

@hoverlover

No description provided.

@gabebw gabebw merged commit 372687a into thoughtbot:master
@gabebw
Owner

Thanks for this! Little fixes like this are awesome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Feb 2, 2012
  1. @hoverlover
This page is out of date. Refresh to see the latest.
Showing with 3 additions and 2 deletions.
  1. +2 −2 lib/kumade/deployer.rb
  2. +1 −0  spec/kumade/deployer_spec.rb
View
4 lib/kumade/deployer.rb
@@ -28,7 +28,7 @@ def deploy
def pre_deploy
ensure_clean_git
- run_predeploy_task
+ run_pre_deploy_task
package_assets
sync_origin
end
@@ -63,7 +63,7 @@ def ensure_heroku_remote_exists
private
- def run_predeploy_task
+ def run_pre_deploy_task
RakeTaskRunner.new("kumade:pre_deploy").invoke
end
end
View
1  spec/kumade/deployer_spec.rb
@@ -12,6 +12,7 @@
it "calls the correct methods" do
git.expects(:ensure_clean_git)
+ subject.expects(:run_pre_deploy_task)
subject.expects(:package_assets)
git.expects(:push).with(subject.git.current_branch)
Something went wrong with that request. Please try again.