Commit ac665473 authored by James Lopez's avatar James Lopez

add spec replicating both label and milestone duplicated title issues

parent f5e4adc9
......@@ -385,6 +385,7 @@ describe Gitlab::ImportExport::ProjectTreeRestorer do
it 'imports labels' do
create(:group_label, name: 'Another label', group: project.group)
expect_any_instance_of(Gitlab::ImportExport::Shared).not_to receive(:error)
restored_project_json
......@@ -394,6 +395,7 @@ describe Gitlab::ImportExport::ProjectTreeRestorer do
it 'imports milestones' do
create(:milestone, name: 'A milestone', group: project.group)
expect_any_instance_of(Gitlab::ImportExport::Shared).not_to receive(:error)
restored_project_json
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment