I’ve got several methods that has the following line:
redirect_to request.request_uri
How do I test whether the method correctly redirected to the previous
uri?
I’ve got several methods that has the following line:
redirect_to request.request_uri
How do I test whether the method correctly redirected to the previous
uri?
Sorry, to clarify, I want to test this in the functional (controller)
tests.
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs