summaryrefslogtreecommitdiff
path: root/app/presenters
diff options
context:
space:
mode:
authorGeorge Tsiolis <tsiolis.g@gmail.com>2019-04-12 15:39:10 +0300
committerGeorge Tsiolis <tsiolis.g@gmail.com>2019-04-16 12:57:07 +0300
commit579fa8b8ec7eb38d40c96521f517c9dab8c3b97a (patch)
treea344ec76f90125b398a217e3315c7fcb0f7a8b7c /app/presenters
parenta67b1c17a1284daf6e7f12d3f9c4a80fae59dde9 (diff)
downloadgitlab-ce-579fa8b8ec7eb38d40c96521f517c9dab8c3b97a.tar.gz
Rename CI related selectors
Diffstat (limited to 'app/presenters')
-rw-r--r--app/presenters/merge_request_presenter.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/presenters/merge_request_presenter.rb b/app/presenters/merge_request_presenter.rb
index 284b1ad9b55..013c366218c 100644
--- a/app/presenters/merge_request_presenter.rb
+++ b/app/presenters/merge_request_presenter.rb
@@ -13,7 +13,7 @@ class MergeRequestPresenter < Gitlab::View::Presenter::Delegated
def ci_status
if pipeline
status = pipeline.status
- status = "success_with_warnings" if pipeline.success? && pipeline.has_warnings?
+ status = "success-with-warnings" if pipeline.success? && pipeline.has_warnings?
status || "preparing"
else