This commit is contained in:
James Lopez 2018-06-22 09:55:16 +02:00
parent fb5ca695c4
commit d8252efea9
No known key found for this signature in database
GPG Key ID: 756BF8E9D7C0CF39
1 changed files with 2 additions and 4 deletions

View File

@ -402,11 +402,9 @@ describe Gitlab::ImportExport::ProjectTreeRestorer do
group: create(:group))
end
before do
project_tree_restorer.instance_variable_set(:@path, "spec/lib/gitlab/import_export/project.milestone-iid.json")
end
it 'preserves the project milestone IID' do
project_tree_restorer.instance_variable_set(:@path, "spec/lib/gitlab/import_export/project.milestone-iid.json")
expect_any_instance_of(Gitlab::ImportExport::Shared).not_to receive(:error)
restored_project_json