diff options
author | Kamil Trzciński <ayufan@ayufan.eu> | 2017-04-06 18:49:10 +0000 |
---|---|---|
committer | Kamil Trzciński <ayufan@ayufan.eu> | 2017-04-06 18:49:10 +0000 |
commit | 9205caa3361fb38233588c8a18d27288b1e076ee (patch) | |
tree | 5a0e770db873238e6306a722a8d8dacbb76e6b78 /app/models/project.rb | |
parent | d6caa9d7341da7924e42c3d4c7d41b9b191a1bc5 (diff) | |
parent | 0ec3a031f4a8f392b9d79c4b638d832b1e077718 (diff) | |
download | gitlab-ce-9205caa3361fb38233588c8a18d27288b1e076ee.tar.gz |
Merge branch 'tc-show-pipeline-coverage-if-avail' into 'master'
Show the test coverage if it is available
Closes #27911
See merge request !10381
Diffstat (limited to 'app/models/project.rb')
-rw-r--r-- | app/models/project.rb | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/app/models/project.rb b/app/models/project.rb index f68714d09f8..c1909c6d4a8 100644 --- a/app/models/project.rb +++ b/app/models/project.rb @@ -1099,10 +1099,6 @@ class Project < ActiveRecord::Base self.runners_token && ActiveSupport::SecurityUtils.variable_size_secure_compare(token, self.runners_token) end - def build_coverage_enabled? - build_coverage_regex.present? - end - def build_timeout_in_minutes build_timeout / 60 end |