Commit bc4e5eac authored by Jasper Maes's avatar Jasper Maes

Rails5 fix project import spec

parent 2031fb20
---
title: Rails5 fix project import spec
merge_request: 6981
author: Jasper Maes
type: fixed
......@@ -119,13 +119,7 @@ describe 'New project' do
click_button 'Create project'
created_project = Project.last
if Gitlab.rails5?
expect(current_path).to eq(project_import_path(created_project))
else
expect(current_path).to eq(project_path(created_project))
end
expect(current_path).to eq(project_path(created_project))
expect(created_project.mirror).to eq(true)
expect(created_project.project_feature).not_to be_issues_enabled
end
......
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