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:
Diffstat (limited to 'spec/models/customer_relations/organization_spec.rb')
-rw-r--r--spec/models/customer_relations/organization_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/models/customer_relations/organization_spec.rb b/spec/models/customer_relations/organization_spec.rb
index 350a4e613c6..8151bf18bed 100644
--- a/spec/models/customer_relations/organization_spec.rb
+++ b/spec/models/customer_relations/organization_spec.rb
@@ -65,7 +65,7 @@ RSpec.describe CustomerRelations::Organization, type: :model do
before do
old_root_group.update!(parent: new_root_group)
- CustomerRelations::Organization.move_to_root_group(old_root_group)
+ described_class.move_to_root_group(old_root_group)
end
it 'moves organizations with unique names and deletes the rest' do