mirror of
https://github.com/discourse/discourse.git
synced 2026-08-19 01:14:56 -05:00
DEV: Apply syntax_tree formatting to plugins/*
This commit is contained in:
@@ -517,7 +517,8 @@ describe ChatMessage do
|
||||
it "keeps the same hashtags the user has permission to after rebake" do
|
||||
group.add(chat_message.user)
|
||||
chat_message.update!(
|
||||
message: "this is the message ##{category.slug} ##{secure_category.slug} ##{chat_message.chat_channel.slug}",
|
||||
message:
|
||||
"this is the message ##{category.slug} ##{secure_category.slug} ##{chat_message.chat_channel.slug}",
|
||||
)
|
||||
chat_message.cook
|
||||
chat_message.save!
|
||||
|
||||
@@ -11,9 +11,7 @@ describe DeletedChatUser do
|
||||
|
||||
describe "#avatar_template" do
|
||||
it "returns a default path" do
|
||||
expect(subject.avatar_template).to eq(
|
||||
"/plugins/chat/images/deleted-chat-user-avatar.png",
|
||||
)
|
||||
expect(subject.avatar_template).to eq("/plugins/chat/images/deleted-chat-user-avatar.png")
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user