Friday, March 21, 2008

functional




From HowToUseSubdomainsAsAccountKeys


Functional testing with subdomains:
To test subdomain account keys, you can set the host parameter of the @request object in a functional test:

def test_example_test
@request.host = 'subdomain.local.host'
end