summaryrefslogtreecommitdiff
path: root/app/models/commit_status.rb
diff options
context:
space:
mode:
authorLin Jen-Shin <godfat@godfat.org>2016-10-03 18:56:32 +0800
committerLin Jen-Shin <godfat@godfat.org>2016-10-03 18:56:32 +0800
commit752a4cce514f04e0f364f615b817e64e9f40879b (patch)
treea34f5f056e5e34f57486b7d291c3c3976d284b76 /app/models/commit_status.rb
parent9c2306006c58b42ba5d09bfca363bfcc22092a8e (diff)
downloadgitlab-ce-752a4cce514f04e0f364f615b817e64e9f40879b.tar.gz
Add test for CommitStatus.exclude_ignored
Diffstat (limited to 'app/models/commit_status.rb')
-rw-r--r--app/models/commit_status.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/app/models/commit_status.rb b/app/models/commit_status.rb
index 0ed87922177..99622014662 100644
--- a/app/models/commit_status.rb
+++ b/app/models/commit_status.rb
@@ -38,7 +38,6 @@ class CommitStatus < ActiveRecord::Base
where("#{quoted_when} <> ? OR status <> ?", 'manual', 'skipped').
# We want to ignore skipped on_failure
where("#{quoted_when} <> ? OR status <> ?", 'on_failure', 'skipped')
-
end
scope :latest_ci_stages, -> { latest.ordered.includes(project: :namespace) }