FIX: Broken spec

This commit is contained in:
Robin Ward 2017-12-19 17:55:33 -05:00
parent 2735914cf6
commit a0aca83c12
1 changed files with 1 additions and 1 deletions

View File

@ -386,7 +386,7 @@ describe PrettyText do
end
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
it "should remove meta informations" do