A platform for community discussion. Free, open, simple.
# 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) }
it { is_expected.to have_one(:chat_discoverable_bot).dependent(:destroy) }
end