diff options
Diffstat (limited to 'spec/support/import_export/configuration_helper.rb')
-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 b731ee626c0..28797229661 100644 --- a/spec/support/import_export/configuration_helper.rb +++ b/spec/support/import_export/configuration_helper.rb @@ -4,7 +4,7 @@ module ConfigurationHelper # Returns a list of models from hashes/arrays contained in +project_tree+ def names_from_tree(project_tree) project_tree.map do |branch_or_model| - branch_or_model = branch_or_model.to_s if branch_or_model.is_a?(Symbol) + branch_or_model = branch_or_model.to_s if branch_or_model.is_a?(Symbol) branch_or_model.is_a?(String) ? branch_or_model : names_from_tree(branch_or_model) end |