diff --git a/app/controllers/projects/build_lists_controller.rb b/app/controllers/projects/build_lists_controller.rb index 1ac234c24..d302bdfc8 100644 --- a/app/controllers/projects/build_lists_controller.rb +++ b/app/controllers/projects/build_lists_controller.rb @@ -96,7 +96,7 @@ class Projects::BuildListsController < Projects::BaseController if params[:status].to_i == 0 # ok @build_list.published else - @build_list.failed_publish + @build_list.fail_publish end render :nothing => true, :status => 200 diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 7eab2ddcd..83eec9d2c 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -43,7 +43,7 @@ def test_git_commit(project) project.git_repository.repo.index.commit('Test commit') end -Delayed::Worker.delay_jobs = false # Execute all jobs realtime +#Delayed::Worker.delay_jobs = false # Execute all jobs realtime # Add testing root_path %x(rm -Rf #{Rails.root}/tmp/test_root)