diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2017-05-09 23:03:50 +0200 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2017-05-09 23:03:50 +0200 |
commit | 7eaab72b983a89040a01b9f32184fef258fb29f2 (patch) | |
tree | 4f65717c70df21396c55b4c55e081c19b4905b40 | |
parent | f09dcbd9bd2590bb66ee49b65637525a3c71a307 (diff) | |
download | gitlab-ce-7eaab72b983a89040a01b9f32184fef258fb29f2.tar.gz |
Fix rubocop failure
-rw-r--r-- | app/models/concerns/has_status.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/concerns/has_status.rb b/app/models/concerns/has_status.rb index 3e4f8e6bff8..dff7b6e3523 100644 --- a/app/models/concerns/has_status.rb +++ b/app/models/concerns/has_status.rb @@ -22,7 +22,7 @@ module HasStatus skipped = scope.skipped.select('count(*)').to_sql canceled = scope.canceled.select('count(*)').to_sql - "(CASE + "(CASE WHEN (#{builds})=(#{skipped}) THEN 'skipped' WHEN (#{builds})=(#{success}) THEN 'success' WHEN (#{builds})=(#{created}) THEN 'created' |