This repository has been archived on 2025-05-04. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
discourse/spec/models/topic_invite_spec.rb

11 lines
215 B
Ruby
Raw Normal View History

2013-02-05 14:16:51 -05:00
require 'spec_helper'
describe TopicInvite do
2013-02-25 19:42:20 +03:00
2013-02-05 14:16:51 -05:00
it { should belong_to :topic }
it { should belong_to :invite }
it { should validate_presence_of :topic_id }
it { should validate_presence_of :invite_id }
2013-02-25 19:42:20 +03:00
2013-02-05 14:16:51 -05:00
end