aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_dispatch/testing
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2017-08-26 16:33:08 +0900
committerGitHub <noreply@github.com>2017-08-26 16:33:08 +0900
commit7a9b93805bd6f901de72c8f84c75e4f52476a872 (patch)
tree8c5a0c10c9f32f6faf53a9eaeb897956ad1cd41f /actionpack/lib/action_dispatch/testing
parent494fd7743c052126b3af90db574f13c99005663e (diff)
parent8c5ab21b25faa991de40fd7937387e20f0770d4b (diff)
downloadrails-7a9b93805bd6f901de72c8f84c75e4f52476a872.tar.gz
rails-7a9b93805bd6f901de72c8f84c75e4f52476a872.tar.bz2
rails-7a9b93805bd6f901de72c8f84c75e4f52476a872.zip
Merge pull request #30418 from yhirano55/use_tt_in_doc_for_actionpack
Use tt in doc for action_pack [ci skip]
Diffstat (limited to 'actionpack/lib/action_dispatch/testing')
-rw-r--r--actionpack/lib/action_dispatch/testing/test_request.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_dispatch/testing/test_request.rb b/actionpack/lib/action_dispatch/testing/test_request.rb
index 0a4dec1364..6c5b7af50e 100644
--- a/actionpack/lib/action_dispatch/testing/test_request.rb
+++ b/actionpack/lib/action_dispatch/testing/test_request.rb
@@ -11,7 +11,7 @@ module ActionDispatch
"HTTP_USER_AGENT" => "Rails Testing",
)
- # Create a new test request with default `env` values.
+ # Create a new test request with default +env+ values.
def self.create(env = {})
env = Rails.application.env_config.merge(env) if defined?(Rails.application) && Rails.application
env["rack.request.cookie_hash"] ||= {}.with_indifferent_access