mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-27 17:46:05 -05:00
11 lines
219 B
Ruby
11 lines
219 B
Ruby
|
require 'spec_helper'
|
||
|
|
||
|
describe TopicInvite do
|
||
|
|
||
|
it { should belong_to :topic }
|
||
|
it { should belong_to :invite }
|
||
|
it { should validate_presence_of :topic_id }
|
||
|
it { should validate_presence_of :invite_id }
|
||
|
|
||
|
end
|