Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Renamed run_predeploy_task method.

  • Loading branch information...
commit 764aebebee26b2dfe9f12f3ceacf6a339cde2aee 1 parent 81eb06c
@hoverlover hoverlover authored
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)
Please sign in to comment.
Something went wrong with that request. Please try again.