Update spec/features/markdown/math_spec.rb
Refer to https://github.com/KaTeX/KaTeX/pull/1700 for additional details.
This commit is contained in:
parent
3d3cc42933
commit
a763d5fb09
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue