debian-mirror-gitlab/spec/models/project_snippet_spec.rb
2019-07-07 11:18:12 +05:30

13 lines
257 B
Ruby

# frozen_string_literal: true
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