mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 01:47:22 +08:00
fix linting
This commit is contained in:
parent
98f7430480
commit
c8e65fa673
|
@ -56,8 +56,9 @@ RSpec.describe Chat::ChatableUserSerializer do
|
|||
end
|
||||
|
||||
context "when staff creates direct messages" do
|
||||
let(:admin) { Fabricate(:admin) }
|
||||
fab!(:admin)
|
||||
subject(:serializer) { described_class.new(user, scope: Guardian.new(admin), root: false) }
|
||||
|
||||
before { SiteSetting.direct_message_enabled_groups = Group::AUTO_GROUPS[:trust_level_4] }
|
||||
|
||||
it "can chat" do
|
||||
|
|
Loading…
Reference in New Issue
Block a user