Merge pull request #42267 from hahmed/ha/fix-sentance-in-testing-integration

[ci skip] Improve sentence around setting xhr:true
This commit is contained in:
Zachary Scott 2021-05-22 09:16:04 +09:00 committed by GitHub
commit 3bd6b688d0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -199,7 +199,7 @@ module ActionDispatch
# merged into the Rack env hash.
# - +env+: Additional env to pass, as a Hash. The headers will be
# merged into the Rack env hash.
# - +xhr+: Set to +true+ if you want to make and Ajax request.
# - +xhr+: Set to +true+ if you want to make an Ajax request.
# Adds request headers characteristic of XMLHttpRequest e.g. HTTP_X_REQUESTED_WITH.
# The headers will be merged into the Rack env hash.
# - +as+: Used for encoding the request with different content type.