blob: 1b439bcfad1b7f297eb872595bbebd1af8d448c7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
require 'spec_helper'
describe ProjectSnippet 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
|