discourse/spec/models/topic_invite_spec.rb

Failed to ignore revisions in .git-blame-ignore-revs.

13 lines
279 B
Ruby
Raw Normal View History

# frozen_string_literal: true
require 'rails_helper'
2013-02-06 03:16:51 +08:00
describe TopicInvite do
2013-02-26 00:42:20 +08: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-26 00:42:20 +08:00
2013-02-06 03:16:51 +08:00
end