This project is archived and is in readonly mode.
Strange behaviour of assert_redirected_to
-
Andrew White
- State changed from new to needs-more-info
- Importance changed from to Low
Not quite sure what you're trying to achieve here - the examples you've posted are quite different to the railscast. The named url helper new_order_path will always generate the full path '/order/new' and won't match the assert_redirected_to.
Are you trying to redirect a request from a default url to a subdomain url or the other way around