Update tests

This commit is contained in:
Kushal Pandya 2017-03-28 11:45:57 +05:30
parent aa637e69e0
commit a055622ae0
1 changed files with 2 additions and 6 deletions

View File

@ -69,12 +69,8 @@ feature 'Import/Export - project import integration test', feature: true, js: tr
select2(namespace.id, from: '#project_namespace_id') select2(namespace.id, from: '#project_namespace_id')
# click on disabled element # Check for tooltip disabled import button
find(:link, 'GitLab export').trigger('click') expect(find('.import_gitlab_project')['title']).to eq('Please enter a valid project name.')
page.within('.flash-container') do
expect(page).to have_content('Please enter path and name')
end
end end
end end