X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/7653054635e3f4f84da3f2b6862cd2c02fbe3fd4..b896832bf02ded0c9142d758c2866fa4f1ec09e9:/services/api/test/integration/login_workflow_test.rb diff --git a/services/api/test/integration/login_workflow_test.rb b/services/api/test/integration/login_workflow_test.rb index f0741fcfde..ba3b2ac6e3 100644 --- a/services/api/test/integration/login_workflow_test.rb +++ b/services/api/test/integration/login_workflow_test.rb @@ -30,7 +30,7 @@ class LoginWorkflowTest < ActionDispatch::IntegrationTest params: {specimen: {}}, headers: {'HTTP_ACCEPT' => 'text/html'}) assert_response 302 - assert_match(%r{/auth/joshid$}, @response.headers['Location'], + assert_match(%r{http://www.example.com/login$}, @response.headers['Location'], "HTML login prompt did not include expected redirect") end end