Commit ae5003a3 authored by Filipa Lacerda's avatar Filipa Lacerda

Fix html structure

Removes test for removed behavior
parent 036ee515
......@@ -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?
......
......@@ -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
......
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