From a763d5fb097fb76596a80e801459bc32d2c3ff34 Mon Sep 17 00:00:00 2001 From: Andrew Harmon Date: Fri, 18 Jan 2019 18:55:05 +0000 Subject: [PATCH] Update spec/features/markdown/math_spec.rb Refer to https://github.com/KaTeX/KaTeX/pull/1700 for additional details. --- spec/features/markdown/math_spec.rb | 4 ++-- 1 file 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