DEV: Apply syntax_tree formatting to plugins/*

This commit is contained in:
David Taylor
2023-01-07 11:11:37 +00:00
parent 93e2dad656
commit 055310cea4
110 changed files with 3712 additions and 3158 deletions
@@ -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