Commit a9ac4b40 authored by Mark Florian's avatar Mark Florian

Verify redirect location is reasonable

parent d11a0cbb
...@@ -60,6 +60,7 @@ describe Projects::DependenciesController do ...@@ -60,6 +60,7 @@ describe Projects::DependenciesController do
subject subject
expect(response).to have_gitlab_http_status(302) expect(response).to have_gitlab_http_status(302)
expect(response).to redirect_to(new_user_session_path)
end end
end end
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