2013-02-05 14:16:51 -05:00
|
|
|
require 'spec_helper'
|
|
|
|
|
|
|
|
describe TopicInvite do
|
2013-02-25 11:42:20 -05:00
|
|
|
|
2014-12-31 09:55:03 -05: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 11:42:20 -05:00
|
|
|
|
2013-02-05 14:16:51 -05:00
|
|
|
end
|