aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/dispatch/mapper_test.rb
Commit message (Collapse)AuthorAgeFilesLines
* fewer operations on the options hashAaron Patterson2014-08-131-1/+1
| | | | | since we pass `as` down, then we won't have to do an insert / delete dance with the options hash
* RouteSet should be in charge of constructing the dispatherAaron Patterson2014-07-151-2/+2
| | | | Now we can override how requests are dispatched in the routeset object
* use the factory method to construct the mappingAaron Patterson2014-06-031-1/+1
|
* Mapping never actually uses @set, so rmAaron Patterson2014-05-291-1/+1
|
* use a parser to extract the group parts from the pathAaron Patterson2014-05-291-2/+2
|
* Raise a helpful error message on #mount misuseCarl Lerche2012-07-101-0/+9
|
* Remove more tests related to draw external routes filesRafael Mendonça França2012-06-291-2/+1
| | | | Related with 5e7d6bba79393de0279917f93b82f3b7b176f4b5
* Fix the buildYehuda Katz2012-04-251-1/+2
|
* Remove default match without specified methodJose and Yehuda2012-04-241-8/+8
| | | | | | | | | | | | | | | | In the current router DSL, using the +match+ DSL method will match all verbs for the path to the specified endpoint. In the vast majority of cases, people are currently using +match+ when they actually mean +get+. This introduces security implications. This commit disallows calling +match+ without an HTTP verb constraint by default. To explicitly match all verbs, this commit also adds a :via => :all option to +match+. Closes #5964
* all routes can be stored in the Journey Routes objectAaron Patterson2011-09-121-0/+1
|
* fixing wildcard path matching when wildcard is inside parenthesisAaron Patterson2011-07-261-0/+7
|
* Allow a route to have :format => trueErik Michaels-Ober2011-07-251-0/+7
| | | | | | When format is true, it is mandatory (as opposed to :format => false). This is currently not possible with resource routes, which automatically make format optional by default.
* Remove 'warning: ambiguous first argument' when running ActionPack testsSebastian Martinez2011-03-291-2/+2
| | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Move mapper_test to the appropriate locationPrem Sichanugrist2011-03-291-0/+88
It seems like in 89c5b9aee7d7db95cec9e5a934c3761872ab107e Aaron actually put the test in action_dispatch folder. However, there's already a `test/dispatch` directory which I think it's more appropriate. Signed-off-by: Andrew White <andyw@pixeltrix.co.uk>