mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 03:09:00 +08:00
9 lines
259 B
Ruby
9 lines
259 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
|