Fixed tests
This commit is contained in:
parent
075aae2503
commit
90f18d9e87
|
@ -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
|
||||||
|
|
||||||
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
|
||||||
|
|
||||||
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
|
||||||
|
|
Loading…
Reference in New Issue