Welcome to mirror list, hosted at ThFree Co, Russian Federation.

crm_settings_spec.rb « group « models « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 35fcdca638969e3f0e262a48c219055cc387de83 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# frozen_string_literal: true

require 'spec_helper'

RSpec.describe Group::CrmSettings do
  describe 'associations' do
    it { is_expected.to belong_to(:group) }
  end

  describe 'validations' do
    subject { build(:crm_settings) }

    it { is_expected.to validate_presence_of(:group) }
  end
end