method
user_agent=
rails latest stable - Class:
ActionDispatch::TestRequest
user_agent=(user_agent)public
No documentation available.
# File actionpack/lib/action_dispatch/testing/test_request.rb, line 62
def user_agent=(user_agent)
set_header("HTTP_USER_AGENT", user_agent)
end