aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/controller/url_for_integration_test.rb
Commit message (Collapse)AuthorAgeFilesLines
* Remove default match without specified methodJose and Yehuda2012-04-241-16/+16
| | | | | | | | | | | | | | | | 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
* fix method redefined warnings in testslest2011-11-301-6/+0
|
* moving test_generate to an integration test with one assert per testAaron Patterson2011-08-121-0/+183