mirror of
https://github.com/discourse/discourse.git
synced 2024-12-15 11:23:44 +08:00
0a5f548635
As part of this move, we are also renaming `discourse-chat` to `chat`.
10 lines
297 B
Ruby
10 lines
297 B
Ruby
# 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
|