d900f19dfa
Signed-off-by: Rémy Coutable <remy@rymai.me>
11 lines
240 B
Ruby
11 lines
240 B
Ruby
require 'spec_helper'
|
|
|
|
describe ProjectSnippet, models: true do
|
|
describe "Associations" do
|
|
it { is_expected.to belong_to(:project) }
|
|
end
|
|
|
|
describe "Validation" do
|
|
it { is_expected.to validate_presence_of(:project) }
|
|
end
|
|
end
|