BigW Consortium Gitlab

project_snippet_spec.rb 279 Bytes
Newer Older
1 2
require 'spec_helper'

Douwe Maan committed
3
describe ProjectSnippet, models: true do
4
  describe "Associations" do
5
    it { is_expected.to belong_to(:project) }
6 7 8 9 10 11
  end

  describe "Mass assignment" do
  end

  describe "Validation" do
12
    it { is_expected.to validate_presence_of(:project) }
13 14
  end
end