host!(name)
Set the host name to use in the next request.
session.host! "www.example.com"
# File actionpack/lib/action_dispatch/testing/integration.rb, line 236 def host!(name) @host = name end