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

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2023-04-25 21:08:55 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2023-04-25 21:08:55 +0300
commit1e3f5ab634699e9d50779f05d2ae8dfc8a3ab9b3 (patch)
treec96727e136f4dc4fdbc1190895439d41e0b07fc5 /spec/factories
parentba8e92f7c9938d7dba333d2396cdd14bfa0de726 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/factories')
-rw-r--r--spec/factories/customer_relations/contacts.rb4
-rw-r--r--spec/factories/customer_relations/organizations.rb2
2 files changed, 1 insertions, 5 deletions
diff --git a/spec/factories/customer_relations/contacts.rb b/spec/factories/customer_relations/contacts.rb
index 1896510d362..6410e298bc3 100644
--- a/spec/factories/customer_relations/contacts.rb
+++ b/spec/factories/customer_relations/contacts.rb
@@ -8,10 +8,6 @@ FactoryBot.define do
last_name { generate(:name) }
email { generate(:email) }
- trait :with_organization do
- organization
- end
-
trait :inactive do
state { :inactive }
end
diff --git a/spec/factories/customer_relations/organizations.rb b/spec/factories/customer_relations/organizations.rb
index b6efd46f1a4..789099190ac 100644
--- a/spec/factories/customer_relations/organizations.rb
+++ b/spec/factories/customer_relations/organizations.rb
@@ -1,7 +1,7 @@
# frozen_string_literal: true
FactoryBot.define do
- factory :organization, class: 'CustomerRelations::Organization' do
+ factory :crm_organization, class: 'CustomerRelations::Organization' do
group
name { generate(:name) }