Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Renamed run_postdeploy_task method.

  • Loading branch information...
commit da74087db9a8adc69bd6c923da3700ddace3f1e7 1 parent f68a487
Chad Boyd authored February 01, 2012
4  lib/kumade/deployer.rb
@@ -35,7 +35,7 @@ def pre_deploy
35 35
     end
36 36
 
37 37
     def post_deploy_success
38  
-      run_postdeploy_task
  38
+      run_post_deploy_task
39 39
     end
40 40
 
41 41
     def package_assets
@@ -72,7 +72,7 @@ def run_predeploy_task
72 72
       RakeTaskRunner.new("kumade:pre_deploy").invoke
73 73
     end
74 74
 
75  
-    def run_postdeploy_task
  75
+    def run_post_deploy_task
76 76
       RakeTaskRunner.new("kumade:post_deploy").invoke
77 77
     end
78 78
   end
2  spec/kumade/deployer_spec.rb
@@ -34,7 +34,7 @@
34 34
   end
35 35
 
36 36
   it "calls the correct methods" do
37  
-    subject.expects(:run_postdeploy_task)
  37
+    subject.expects(:run_post_deploy_task)
38 38
 
39 39
     subject.post_deploy_success
40 40
   end

0 notes on commit da74087

Please sign in to comment.
Something went wrong with that request. Please try again.