discourse/spec/models/topic_invite_spec.rb
2022-07-28 10:27:38 +08:00

11 lines
261 B
Ruby

# frozen_string_literal: true
RSpec.describe TopicInvite do
it { is_expected.to belong_to :topic }
it { is_expected.to belong_to :invite }
it { is_expected.to validate_presence_of :topic_id }
it { is_expected.to validate_presence_of :invite_id }
end