diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-08-16 06:11:31 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-08-16 06:11:31 +0300 |
commit | 473d6b24349755c8ade489fdb93d5a5463ccc13f (patch) | |
tree | 3e3df2559bf96012ee540eec57ebd5d2a79c6fe8 /spec/models | |
parent | 5074a6923ee1572d5e0590191206e0e4a4849287 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/models')
-rw-r--r-- | spec/models/customer_relations/contact_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/models/customer_relations/contact_spec.rb b/spec/models/customer_relations/contact_spec.rb index 27f3c4d6e62..487af404a7c 100644 --- a/spec/models/customer_relations/contact_spec.rb +++ b/spec/models/customer_relations/contact_spec.rb @@ -232,7 +232,7 @@ RSpec.describe CustomerRelations::Contact, type: :model do create_list(:contact, 2, group: group, state: 'inactive') end - it 'returns only active contacts' do + it 'returns correct contact counts' do counts = group.contacts.counts_by_state expect(counts['active']).to be(3) |