Skip to content

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.rb
index 114ae5e4f77..e0aba3b7dc9 100644
--- a/spec/components/pretty_text_spec.rb
+++ b/spec/components/pretty_text_spec.rb
@@ -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