From 233e6eb96ccbfc35e8da6baf272b77c1a66f34f9 Mon Sep 17 00:00:00 2001 From: Wedge Date: Tue, 6 Feb 2018 13:56:43 +0300 Subject: [PATCH] Fix rerun tests bug --- app/controllers/projects/build_lists_controller.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/controllers/projects/build_lists_controller.rb b/app/controllers/projects/build_lists_controller.rb index bf0330fe6..89af52b40 100644 --- a/app/controllers/projects/build_lists_controller.rb +++ b/app/controllers/projects/build_lists_controller.rb @@ -130,6 +130,8 @@ class Projects::BuildListsController < Projects::BaseController end def rerun_tests + @build_list.builder = nil + @build_list.save do_and_back(:rerun_tests, 'rerun_tests_') end