Discussion Forums
- Topic List
- Most Recent Posts
- Sign In for more options
Figured it out.
module FunctionalHelper
def setup
@request.host = 'nicks.contrived.com'
end
end
I just added subdomains to my app and of course all my tests broke but this was expected. The problem is I cannot figure out how to set the host domain for my tests. I have seen several posts all over but none of them have worked. I am using rails 2.3.2. Does anyone know how to do this? Right now it is set to the default of test.host.
