Check if MR is not broken.

This commit is contained in:
Rubén Dávila 2016-01-19 11:40:43 -05:00
parent d1938fae3d
commit c7264d2a76
1 changed files with 1 additions and 1 deletions

View File

@ -254,7 +254,7 @@ class MergeRequest < ActiveRecord::Base
end
def mergeable?
return false unless open? && !work_in_progress?
return false unless open? && !work_in_progress? && !broken?
check_if_can_be_merged