mirror of
https://github.com/discourse/discourse.git
synced 2024-12-14 17:43:39 +08:00
8 lines
273 B
Ruby
8 lines
273 B
Ruby
# frozen_string_literal: true
|
|
|
|
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
|