summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorFilipa Lacerda <filipa@gitlab.com>2019-08-09 11:53:22 +0100
committerFilipa Lacerda <filipa@gitlab.com>2019-08-12 17:24:42 +0100
commit3e2f2b807148c9dce1f7cc56ec902cf60bc9029c (patch)
tree8036e7368522b6c53377f98dfe33861089e65ee1 /spec
parentc85cbc08f7fc43819f7569b7686ee22ce747e7b3 (diff)
downloadgitlab-ce-3e2f2b807148c9dce1f7cc56ec902cf60bc9029c.tar.gz
Adds highlight to collapsible line
In the job log adds a highlight when hovering the collapsible line
Diffstat (limited to 'spec')
-rw-r--r--spec/lib/gitlab/ci/ansi2html_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/lib/gitlab/ci/ansi2html_spec.rb b/spec/lib/gitlab/ci/ansi2html_spec.rb
index b6b3de4bc4a..c8afcbd053d 100644
--- a/spec/lib/gitlab/ci/ansi2html_spec.rb
+++ b/spec/lib/gitlab/ci/ansi2html_spec.rb
@@ -209,7 +209,7 @@ describe Gitlab::Ci::Ansi2html do
let(:section_start) { "section_start:#{section_start_time.to_i}:#{section_name}\r\033[0K"}
let(:section_end) { "section_end:#{section_end_time.to_i}:#{section_name}\r\033[0K"}
let(:section_start_html) do
- '<div class="js-section-start fa fa-caret-down pr-2 cursor-pointer"' \
+ '<div class="js-section-start section-start fa fa-caret-down pr-2 cursor-pointer"' \
" data-timestamp=\"#{section_start_time.to_i}\" data-section=\"#{class_name(section_name)}\"" \
' role="button"></div>'
end