diff options
author | Xavier Noria <fxn@hashref.com> | 2016-03-03 07:23:45 -0800 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2016-03-03 07:23:45 -0800 |
commit | ba438dbfaed4d6bc62ffc519993770753eb74259 (patch) | |
tree | b38561c2d42191e323a5c816591cb7dbfcf3c450 /actionpack/lib/action_dispatch | |
parent | 3009fa1e089ff1133ce95c767063ca9f9cdb130f (diff) | |
parent | ea36c579c617c0bfb0ea49c8dea18a7419c45876 (diff) | |
download | rails-ba438dbfaed4d6bc62ffc519993770753eb74259.tar.gz rails-ba438dbfaed4d6bc62ffc519993770753eb74259.tar.bz2 rails-ba438dbfaed4d6bc62ffc519993770753eb74259.zip |
Merge pull request #24027 from mechanicles/a-to-an
Change 'a HTTP' to 'an HTTP' [ci skip]
Diffstat (limited to 'actionpack/lib/action_dispatch')
-rw-r--r-- | actionpack/lib/action_dispatch/http/headers.rb | 2 | ||||
-rw-r--r-- | actionpack/lib/action_dispatch/testing/assertions/routing.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/lib/action_dispatch/http/headers.rb b/actionpack/lib/action_dispatch/http/headers.rb index 8e899174c6..5c3b7245d6 100644 --- a/actionpack/lib/action_dispatch/http/headers.rb +++ b/actionpack/lib/action_dispatch/http/headers.rb @@ -115,7 +115,7 @@ module ActionDispatch private - # Converts a HTTP header name to an environment variable name if it is + # Converts an HTTP header name to an environment variable name if it is # not contained within the headers hash. def env_name(key) key = key.to_s diff --git a/actionpack/lib/action_dispatch/testing/assertions/routing.rb b/actionpack/lib/action_dispatch/testing/assertions/routing.rb index e7af27463c..44ad2c10d8 100644 --- a/actionpack/lib/action_dispatch/testing/assertions/routing.rb +++ b/actionpack/lib/action_dispatch/testing/assertions/routing.rb @@ -117,7 +117,7 @@ module ActionDispatch # # Tests a route, providing a defaults hash # assert_routing 'controller/action/9', {id: "9", item: "square"}, {controller: "controller", action: "action"}, {}, {item: "square"} # - # # Tests a route with a HTTP method + # # Tests a route with an HTTP method # assert_routing({ method: 'put', path: '/product/321' }, { controller: "product", action: "update", id: "321" }) def assert_routing(path, options, defaults={}, extras={}, message=nil) assert_recognizes(options, path, extras, message) |