Commit b9c474ef authored by Mike Greiling's avatar Mike Greiling

update specs for protected environments

parent 098d41be
......@@ -44,7 +44,7 @@ describe Projects::ProtectedEnvironmentsController do
it 'should redirect to CI/CD settings' do
subject
expect(response).to redirect_to project_settings_ci_cd_path(project)
expect(response).to redirect_to project_settings_ci_cd_path(project, anchor: 'js-protected-environments-settings')
end
end
......@@ -64,7 +64,7 @@ describe Projects::ProtectedEnvironmentsController do
it 'should redirect to CI/CD settings' do
subject
expect(response).to redirect_to project_settings_ci_cd_path(project)
expect(response).to redirect_to project_settings_ci_cd_path(project, anchor: 'js-protected-environments-settings')
end
end
end
......@@ -166,7 +166,7 @@ describe Projects::ProtectedEnvironmentsController do
it 'should redirect to CI/CD settings' do
subject
expect(response).to redirect_to project_settings_ci_cd_path(project)
expect(response).to redirect_to project_settings_ci_cd_path(project, anchor: 'js-protected-environments-settings')
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