debian-mirror-gitlab/spec/models/group/crm_settings_spec.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

16 lines
302 B
Ruby
Raw Permalink Normal View History

2022-03-02 08:16:31 +05:30
# 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