summaryrefslogtreecommitdiff
path: root/spec/lib
diff options
context:
space:
mode:
authorJames Lopez <james@jameslopez.es>2018-06-19 17:08:02 +0200
committerJames Lopez <james@jameslopez.es>2018-06-19 17:08:02 +0200
commit825c68e2ededed6f280ebd82c713cd932444d8ac (patch)
tree065db96714b1285e33a817d841a223d5de2da0c8 /spec/lib
parenta19e08fecaa7181586a475d5dd4939b98fca2451 (diff)
downloadgitlab-ce-825c68e2ededed6f280ebd82c713cd932444d8ac.tar.gz
fix some edge cases
Diffstat (limited to 'spec/lib')
-rw-r--r--spec/lib/gitlab/import_export/project_tree_restorer_spec.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/spec/lib/gitlab/import_export/project_tree_restorer_spec.rb b/spec/lib/gitlab/import_export/project_tree_restorer_spec.rb
index 71f84234e4e..a706ab0eb6f 100644
--- a/spec/lib/gitlab/import_export/project_tree_restorer_spec.rb
+++ b/spec/lib/gitlab/import_export/project_tree_restorer_spec.rb
@@ -400,7 +400,8 @@ describe Gitlab::ImportExport::ProjectTreeRestorer do
restored_project_json
- expect(project.milestones.count).to eq(1)
+ expect(project.group.milestones.count).to eq(1)
+ expect(project.milestones.count).to eq(0)
end
end
end