discourse/spec/models/topic_invite_spec.rb

11 lines
215 B
Ruby
Raw Normal View History

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