Fix regression on `assert_redirected_to`.
`assert_redirected_to` would fail if there is no controller set on a `ActionDispatch::IntegrationTest`, as _compute_redirect_to_location would be called on the controller to build the url. This regression was introduced after 1dacfbab. [fixes #14691]
Showing
想要评论请 注册 或 登录