summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Harmon <aidedinertial@gmail.com>2019-01-18 18:55:05 +0000
committerAndrew Harmon <aidedinertial@gmail.com>2019-01-18 18:55:05 +0000
commita763d5fb097fb76596a80e801459bc32d2c3ff34 (patch)
tree8b785fad8f2439bdc25520541ae00be820abdbe4
parent3d3cc429335cbfbdb89a58239e4210500d9bce8f (diff)
downloadgitlab-ce-a763d5fb097fb76596a80e801459bc32d2c3ff34.tar.gz
Update spec/features/markdown/math_spec.rb
Refer to https://github.com/KaTeX/KaTeX/pull/1700 for additional details.
-rw-r--r--spec/features/markdown/math_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/features/markdown/math_spec.rb b/spec/features/markdown/math_spec.rb
index 6a23d6b78ab..678ce80b382 100644
--- a/spec/features/markdown/math_spec.rb
+++ b/spec/features/markdown/math_spec.rb
@@ -16,7 +16,7 @@ describe 'Math rendering', :js do
visit project_issue_path(project, issue)
- expect(page).to have_selector('.katex .mord.mathit', text: 'b')
- expect(page).to have_selector('.katex-display .mord.mathit', text: 'b')
+ expect(page).to have_selector('.katex .mord.mathdefault', text: 'b')
+ expect(page).to have_selector('.katex-display .mord.mathdefault', text: 'b')
end
end