[refs #505] Comment DJ stub. Fix event name call

This commit is contained in:
konstantin.grabar 2012-06-15 12:47:40 +04:00
parent 5acc13e9a6
commit 5e7342fbd7
2 changed files with 2 additions and 2 deletions

View File

@ -96,7 +96,7 @@ class Projects::BuildListsController < Projects::BaseController
if params[:status].to_i == 0 # ok if params[:status].to_i == 0 # ok
@build_list.published @build_list.published
else else
@build_list.failed_publish @build_list.fail_publish
end end
render :nothing => true, :status => 200 render :nothing => true, :status => 200

View File

@ -43,7 +43,7 @@ def test_git_commit(project)
project.git_repository.repo.index.commit('Test commit') project.git_repository.repo.index.commit('Test commit')
end end
Delayed::Worker.delay_jobs = false # Execute all jobs realtime #Delayed::Worker.delay_jobs = false # Execute all jobs realtime
# Add testing root_path # Add testing root_path
%x(rm -Rf #{Rails.root}/tmp/test_root) %x(rm -Rf #{Rails.root}/tmp/test_root)