Renamed run_predeploy_task method. #88

Merged
merged 1 commit into from Feb 2, 2012
Jump to file or symbol
Failed to load files and symbols.
+3 −2
Split
View
@@ -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
@@ -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)