mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 18:51:08 +08:00
FIX: Broken spec
This commit is contained in:
@ -386,7 +386,7 @@ describe PrettyText do
|
|||||||
end
|
end
|
||||||
|
|
||||||
it "should keep details" do
|
it "should keep details" do
|
||||||
expect(PrettyText.excerpt("<details><summary>expand</summary><p>hello</p></details>", 30)).to match_html "<details><summary>expand</summary></details>"
|
expect(PrettyText.excerpt("<details><summary>expand</summary><p>hello</p></details>", 30)).to match_html "<details class='disabled'><summary>expand</summary></details>"
|
||||||
end
|
end
|
||||||
|
|
||||||
it "should remove meta informations" do
|
it "should remove meta informations" do
|
||||||
|
Reference in New Issue
Block a user