debian-mirror-gitlab/spec/models/project_snippet_spec.rb
2017-09-10 17:25:29 +05:30

11 lines
226 B
Ruby

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