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("
expand

hello

", 30)).to match_html "
expand
" + expect(PrettyText.excerpt("
expand

hello

", 30)).to match_html "
expand
" end it "should remove meta informations" do