discourse/spec/models/topic_invite_spec.rb

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

11 lines
261 B
Ruby
Raw Normal View History

# frozen_string_literal: true
RSpec.describe TopicInvite do
2013-02-25 10:42:20 -06:00
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 }
2013-02-25 10:42:20 -06:00
2013-02-05 13:16:51 -06:00
end