mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-07-08 02:18:34 -04:00
A common pattern we employ is `POST`-redirect-`GET`. To write tests for this we often check that the URL of the redirect is what we’re expecting. With the way `client_request` is currently set up, there’s no way to do this because the response isn’t exposed to the test. So this commit adds an extra parameter which will let us test for redirects.