Commit 90f18d9e authored by Jose Ivan Vargas's avatar Jose Ivan Vargas

Fixed tests

parent 075aae25
...@@ -31,7 +31,7 @@ describe Projects::GroupLinksController do ...@@ -31,7 +31,7 @@ describe Projects::GroupLinksController do
it 'redirects to project group links page' do it 'redirects to project group links page' do
expect(response).to redirect_to( expect(response).to redirect_to(
namespace_project_group_links_path(project.namespace, project) namespace_project_settings_members_path(project.namespace, project)
) )
end end
end end
...@@ -62,7 +62,7 @@ describe Projects::GroupLinksController do ...@@ -62,7 +62,7 @@ describe Projects::GroupLinksController do
it 'redirects to project group links page' do it 'redirects to project group links page' do
expect(response).to redirect_to( expect(response).to redirect_to(
namespace_project_group_links_path(project.namespace, project) namespace_project_settings_members_path(project.namespace, project)
) )
end end
end end
...@@ -76,7 +76,7 @@ describe Projects::GroupLinksController do ...@@ -76,7 +76,7 @@ describe Projects::GroupLinksController do
it 'redirects to project group links page' do it 'redirects to project group links page' do
expect(response).to redirect_to( expect(response).to redirect_to(
namespace_project_group_links_path(project.namespace, project) namespace_project_settings_members_path(project.namespace, project)
) )
expect(flash[:alert]).to eq('Please select a group.') expect(flash[:alert]).to eq('Please select a group.')
end 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