class ActionDispatch::TestRequest

def user_agent=(user_agent)

def user_agent=(user_agent)
  set_header("HTTP_USER_AGENT", user_agent)
end