9 lines
195 B
Ruby
9 lines
195 B
Ruby
|
require 'spec_helper'
|
||
|
|
||
|
describe TermAgreement do
|
||
|
describe 'validations' do
|
||
|
it { is_expected.to validate_presence_of(:term) }
|
||
|
it { is_expected.to validate_presence_of(:user) }
|
||
|
end
|
||
|
end
|