0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-07 13:19:19 +08:00
discourse/plugins/chat/spec/models/user_spec.rb

7 lines
273 B
Ruby
Vendored

# 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