mirror of
https://github.com/discourse/discourse.git
synced 2025-05-28 13:51:18 +08:00
DEV: Move discourse-chat
to the core repo. (#18776)
As part of this move, we are also renaming `discourse-chat` to `chat`.
This commit is contained in:
9
plugins/chat/spec/models/user_spec.rb
Normal file
9
plugins/chat/spec/models/user_spec.rb
Normal file
@ -0,0 +1,9 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
require "rails_helper"
|
||||
|
||||
RSpec.describe User do
|
||||
it { is_expected.to have_many(:user_chat_channel_memberships).dependent(:destroy) }
|
||||
it { is_expected.to have_many(:chat_message_reactions).dependent(:destroy) }
|
||||
it { is_expected.to have_many(:chat_mentions) }
|
||||
end
|
Reference in New Issue
Block a user