diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-04-25 21:08:55 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-04-25 21:08:55 +0300 |
commit | 1e3f5ab634699e9d50779f05d2ae8dfc8a3ab9b3 (patch) | |
tree | c96727e136f4dc4fdbc1190895439d41e0b07fc5 /spec/models/customer_relations/contact_spec.rb | |
parent | ba8e92f7c9938d7dba333d2396cdd14bfa0de726 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/models/customer_relations/contact_spec.rb')
-rw-r--r-- | spec/models/customer_relations/contact_spec.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/models/customer_relations/contact_spec.rb b/spec/models/customer_relations/contact_spec.rb index 487af404a7c..6beb5323f60 100644 --- a/spec/models/customer_relations/contact_spec.rb +++ b/spec/models/customer_relations/contact_spec.rb @@ -241,8 +241,8 @@ RSpec.describe CustomerRelations::Contact, type: :model do end describe 'sorting' do - let_it_be(:organization_a) { create(:organization, name: 'a') } - let_it_be(:organization_b) { create(:organization, name: 'b') } + let_it_be(:crm_organization_a) { create(:crm_organization, name: 'a') } + let_it_be(:crm_organization_b) { create(:crm_organization, name: 'b') } let_it_be(:contact_a) { create(:contact, group: group, first_name: "c", last_name: "d") } let_it_be(:contact_b) do create(:contact, @@ -250,7 +250,7 @@ RSpec.describe CustomerRelations::Contact, type: :model do first_name: "a", last_name: "b", phone: "123", - organization: organization_a) + organization: crm_organization_a) end let_it_be(:contact_c) do @@ -259,7 +259,7 @@ RSpec.describe CustomerRelations::Contact, type: :model do first_name: "e", last_name: "d", phone: "456", - organization: organization_b) + organization: crm_organization_b) end describe '.sort_by_name' do |