discourse/plugins/chat/spec/models/user_spec.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
297 B
Ruby
Raw Normal View History

# 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