diff --git a/app/views/import/gitlab_projects/new.html.haml b/app/views/import/gitlab_projects/new.html.haml index d99da464ad18e519c3a105e9beb9cc8f9c4394fe..008e8287aa3610fb18fcd23de5456c8d4b75d51e 100644 --- a/app/views/import/gitlab_projects/new.html.haml +++ b/app/views/import/gitlab_projects/new.html.haml @@ -8,11 +8,10 @@ Import an exported GitLab project %hr -= form_tag import_gitlab_project_path, html: { class: 'new_project' }, multipart: true do += form_tag import_gitlab_project_path, class: 'new_project', multipart: true do .row .form-group.col-xs-12.col-sm-6 - .span - = label_tag :namespace_id, 'Project path', class: 'label-light' + = label_tag :namespace_id, 'Project path', class: 'label-light' .form-group .input-group - if current_user.can_select_namespace? diff --git a/spec/features/projects/import_export/import_file_spec.rb b/spec/features/projects/import_export/import_file_spec.rb index 83d924382beaa84b4ce1f7248e00d2d46da164de..24e7843db639417644d5fe57344440f421c1b751 100644 --- a/spec/features/projects/import_export/import_file_spec.rb +++ b/spec/features/projects/import_export/import_file_spec.rb @@ -61,17 +61,6 @@ feature 'Import/Export - project import integration test', js: true do expect(page).to have_content('Project could not be imported') end end - - scenario 'project with no name' do - create(:project, namespace: namespace) - - visit new_project_path - - select2(namespace.id, from: '#project_namespace_id') - - # Check for tooltip disabled import button - expect(find('.import_gitlab_project')['title']).to eq('Please enter a valid project name.') - end end context 'when limited to the default user namespace' do