Fixed tests

This commit is contained in:
Jose Ivan Vargas 2016-12-28 14:44:50 -06:00
parent 075aae2503
commit 90f18d9e87
1 changed files with 3 additions and 3 deletions

View File

@ -31,7 +31,7 @@ describe Projects::GroupLinksController do
it 'redirects to project group links page' do
expect(response).to redirect_to(
namespace_project_group_links_path(project.namespace, project)
namespace_project_settings_members_path(project.namespace, project)
)
end
end
@ -62,7 +62,7 @@ describe Projects::GroupLinksController do
it 'redirects to project group links page' do
expect(response).to redirect_to(
namespace_project_group_links_path(project.namespace, project)
namespace_project_settings_members_path(project.namespace, project)
)
end
end
@ -76,7 +76,7 @@ describe Projects::GroupLinksController do
it 'redirects to project group links page' do
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.')
end