Some of my controller actions use the request.host parameter in their logic. In integration tests I can use the host! method to set the host. How can the same be achieved in functional tests?
Some of my controller actions use the request.host parameter in their logic. In integration
Share
Found my own solution:
The @request object is reused between requests, so it only has to be set once.