mirror of
https://github.com/discourse/discourse.git
synced 2024-11-29 04:03:57 -06:00
oops checked in a broken test
This commit is contained in:
parent
436b894f7a
commit
74f6894606
@ -658,13 +658,6 @@ HTML
|
||||
expect(PrettyText.cook('(tm)')).to eq('<p>(tm)</p>')
|
||||
end
|
||||
|
||||
it 'does not typographer text blocks' do
|
||||
|
||||
SiteSetting.enable_markdown_typographer = true
|
||||
expect(PrettyText.cook('```text\n"test"\n```')).to eq('<p></p>')
|
||||
|
||||
end
|
||||
|
||||
it 'handles onebox correctly' do
|
||||
expect(PrettyText.cook("http://a.com\nhttp://b.com").split("onebox").length).to eq(3)
|
||||
expect(PrettyText.cook("http://a.com\n\nhttp://b.com").split("onebox").length).to eq(3)
|
||||
|
Loading…
Reference in New Issue
Block a user