Update spec/features/markdown/math_spec.rb

Refer to https://github.com/KaTeX/KaTeX/pull/1700 for additional details.
This commit is contained in:
Andrew Harmon 2019-01-18 18:55:05 +00:00
parent 3d3cc42933
commit a763d5fb09
1 changed files with 2 additions and 2 deletions

View File

@ -16,7 +16,7 @@ describe 'Math rendering', :js do
visit project_issue_path(project, issue) visit project_issue_path(project, issue)
expect(page).to have_selector('.katex .mord.mathit', text: 'b') expect(page).to have_selector('.katex .mord.mathdefault', text: 'b')
expect(page).to have_selector('.katex-display .mord.mathit', text: 'b') expect(page).to have_selector('.katex-display .mord.mathdefault', text: 'b')
end end
end end