debian-mirror-gitlab/spec/models/group/crm_settings_spec.rb
2022-03-02 08:16:31 +05:30

15 lines
302 B
Ruby

# 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