[refs #505] Comment DJ stub. Fix event name call
This commit is contained in:
parent
5acc13e9a6
commit
5e7342fbd7
|
@ -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
|
||||||
|
|
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue