diff options
author | James Lopez <james@jameslopez.es> | 2017-09-06 10:09:24 +0200 |
---|---|---|
committer | James Lopez <james@jameslopez.es> | 2017-09-06 10:09:24 +0200 |
commit | 89ca01eb1a2eac5472f3957bb425700dcac82a7a (patch) | |
tree | c3ba78f6b46d0696527107681f00d4de4b9a9524 /lib | |
parent | 7e38cc9cc215682fc20a7c036dee763df4409198 (diff) | |
download | gitlab-ce-89ca01eb1a2eac5472f3957bb425700dcac82a7a.tar.gz |
fix spec failures
Diffstat (limited to 'lib')
-rw-r--r-- | lib/gitlab/import_export/project_tree_restorer.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/import_export/project_tree_restorer.rb b/lib/gitlab/import_export/project_tree_restorer.rb index f8775729bef..4c17f13b851 100644 --- a/lib/gitlab/import_export/project_tree_restorer.rb +++ b/lib/gitlab/import_export/project_tree_restorer.rb @@ -72,7 +72,7 @@ module Gitlab @saved = false unless restored_project.append_or_update_attribute(relation_key, relation_hash) # Restore the project again, extra query that skips holding the AR objects in memory - @restored_project.reload + @restored_project = Project.find(@project_id) end def default_relation_list |