Permalink
Browse files

Renamed run_postdeploy_task method.

  • Loading branch information...
1 parent f68a487 commit da74087db9a8adc69bd6c923da3700ddace3f1e7 @hoverlover hoverlover committed Feb 2, 2012
Showing with 3 additions and 3 deletions.
  1. +2 −2 lib/kumade/deployer.rb
  2. +1 −1 spec/kumade/deployer_spec.rb
View
@@ -35,7 +35,7 @@ def pre_deploy
end
def post_deploy_success
- run_postdeploy_task
+ run_post_deploy_task
end
def package_assets
@@ -72,7 +72,7 @@ def run_predeploy_task
RakeTaskRunner.new("kumade:pre_deploy").invoke
end
- def run_postdeploy_task
+ def run_post_deploy_task
RakeTaskRunner.new("kumade:post_deploy").invoke
end
end
@@ -34,7 +34,7 @@
end
it "calls the correct methods" do
- subject.expects(:run_postdeploy_task)
+ subject.expects(:run_post_deploy_task)
subject.post_deploy_success
end

0 comments on commit da74087

Please sign in to comment.