Commit 70023c21 authored by James Lopez's avatar James Lopez

fix spec

parent f0603e4c
...@@ -65,7 +65,9 @@ feature 'project import', feature: true, js: true do ...@@ -65,7 +65,9 @@ feature 'project import', feature: true, js: true do
visit new_project_path visit new_project_path
select2('2', from: '#project_namespace_id') select2('2', from: '#project_namespace_id')
click_link 'GitLab export'
# click on disabled element
find(:link, 'GitLab export').trigger('click')
page.within('.flash-container') do page.within('.flash-container') do
expect(page).to have_content('Please enter path and name') expect(page).to have_content('Please enter path and name')
......
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