fix spec
This commit is contained in:
parent
fb5ca695c4
commit
d8252efea9
1 changed files with 2 additions and 4 deletions
|
@ -402,11 +402,9 @@ describe Gitlab::ImportExport::ProjectTreeRestorer do
|
||||||
group: create(:group))
|
group: create(:group))
|
||||||
end
|
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
|
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)
|
expect_any_instance_of(Gitlab::ImportExport::Shared).not_to receive(:error)
|
||||||
|
|
||||||
restored_project_json
|
restored_project_json
|
||||||
|
|
Loading…
Reference in a new issue