A platform for community discussion. Free, open, simple.
FIX: Broken spec
Robin Warda0aca83c12d0
diff --git a/spec/components/pretty_text_spec.rb b/spec/components/pretty_text_spec.rbindex 114ae5e4f77..e0aba3b7dc9 100644--- a/spec/components/pretty_text_spec.rb+++ b/spec/components/pretty_text_spec.rb@@ -386,7 +386,7 @@ describe PrettyText doendit "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>"endit "should remove meta informations" do