Skip to content
This repository has been archived by the owner on Jun 8, 2019. It is now read-only.

Commit

Permalink
Renamed run_postdeploy_task method.
Browse files Browse the repository at this point in the history
  • Loading branch information
hoverlover committed Feb 2, 2012
1 parent f68a487 commit da74087
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib/kumade/deployer.rb
Expand Up @@ -35,7 +35,7 @@ def pre_deploy
end

def post_deploy_success
run_postdeploy_task
run_post_deploy_task
end

def package_assets
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion spec/kumade/deployer_spec.rb
Expand Up @@ -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
Expand Down

0 comments on commit da74087

Please sign in to comment.