Skip to content

A platform for community discussion. Free, open, simple.

fix the build

Vinoth Kannanc5dd4bf5dce1
diff --git a/spec/components/post_destroyer_spec.rb b/spec/components/post_destroyer_spec.rb
index 845a3ba3c2a..8266f8dafb6 100644
--- a/spec/components/post_destroyer_spec.rb
+++ b/spec/components/post_destroyer_spec.rb
@@ -655,7 +655,7 @@ describe PostDestroyer do
Jobs::SendSystemMessage.new.execute(jobs[0]["args"][0].with_indifferent_access)
- expect(Post.last.raw).to include("[details=\"Click to expand removed post\"]\n```markdown\n#{second_post.raw}\n```\n[/details]")
+ expect(Post.last.raw).to include("[details=\"Click to expand removed post\"]\n``` markdown\n#{second_post.raw}\n```\n[/details]")
end
it "should not send the flags_agreed_and_post_deleted message if it was deleted by system" do