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/testing/assertions/routing.rb | |
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/testing/assertions/routing.rb')
-rw-r--r-- | actionpack/lib/action_dispatch/testing/assertions/routing.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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) |