Commit 5b89d971 authored by Annabel Dunstone Gray's avatar Annabel Dunstone Gray

Fix ee-specific import project spec

parent 50d2d7f9
......@@ -658,7 +658,6 @@ a.deploy-project-label {
}
.import-buttons {
padding-left: 0;
display: -webkit-flex;
display: flex;
-webkit-flex-wrap: wrap;
......
......@@ -48,11 +48,12 @@
.tab-pane.import-project-pane{ id: 'import-project-pane', role: 'tabpanel' }
= form_for @project, html: { class: 'new_project' } do |f|
- if import_sources_enabled?
.project-import
.project-import.row
.col-sm-12
.form-group.clearfix
= f.label :visibility_level, class: 'label-light' do #the label here seems wrong
Import project from
.col-sm-12.import-buttons
.import-buttons
%div
- if github_import_enabled?
= link_to new_import_github_path, class: 'btn import_github' do
......
......@@ -15,6 +15,7 @@ feature 'New project' do
it 'shows mirror repository checkbox enabled', :js do
visit new_project_path
find('#import-project-tab').trigger('click')
first('.import_git').click
expect(page).to have_unchecked_field('Mirror repository', disabled: false)
......
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