diff options
author | Oswaldo Ferreira <oswaldo@gitlab.com> | 2018-05-28 23:18:43 +0300 |
---|---|---|
committer | Oswaldo Ferreira <oswaldo@gitlab.com> | 2018-05-30 17:51:29 +0300 |
commit | 54ad5fb8a2b9e90a83cd5714d935b8ea0664eb03 (patch) | |
tree | f8e3e0d4b5edde851a372d6d1bda479b88e0d29b /spec/support/import_export | |
parent | a8c97187f07cc4feeec9347967a12680cf5aec37 (diff) |
Take two for MR metrics population background migration
Diffstat (limited to 'spec/support/import_export')
-rw-r--r-- | spec/support/import_export/configuration_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/support/import_export/configuration_helper.rb b/spec/support/import_export/configuration_helper.rb index f752508d48c..bbac6ca6a9c 100644 --- a/spec/support/import_export/configuration_helper.rb +++ b/spec/support/import_export/configuration_helper.rb @@ -10,7 +10,7 @@ module ConfigurationHelper def relation_class_for_name(relation_name) relation_name = Gitlab::ImportExport::RelationFactory::OVERRIDES[relation_name.to_sym] || relation_name - relation_name.to_s.classify.constantize + Gitlab::ImportExport::RelationFactory.relation_class(relation_name) end def parsed_attributes(relation_name, attributes) |