summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2017-05-09 23:03:50 +0200
committerKamil Trzcinski <ayufan@ayufan.eu>2017-05-09 23:03:50 +0200
commit7eaab72b983a89040a01b9f32184fef258fb29f2 (patch)
tree4f65717c70df21396c55b4c55e081c19b4905b40
parentf09dcbd9bd2590bb66ee49b65637525a3c71a307 (diff)
downloadgitlab-ce-7eaab72b983a89040a01b9f32184fef258fb29f2.tar.gz
Fix rubocop failure
-rw-r--r--app/models/concerns/has_status.rb2
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'