aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/controller/routing_test.rb
Commit message (Collapse)AuthorAgeFilesLines
...
* remove extra require for 'active_support/dependencies' as it is required in ↵Vishnu Atrai2011-07-311-1/+0
| | | | abstract_unit.rb
* raise an error if the old router draw method is used, along with a message ↵Josh Kalderimis2011-05-031-0/+6
| | | | advising them to either upgrade their routes or add rails_legacy_mapper to their Gemfile
* Action Pack typos.R.T. Lechow2011-03-051-1/+1
|
* cleaning up some warnings on 1.9.3Aaron Patterson2011-02-071-2/+2
|
* The redirect routing method now allows for a hash of options which only ↵Josh Kalderimis2010-11-301-284/+297
| | | | changes the relevant parts of the url, or an object which responds to call can be supplied so common redirect rules can be easily reused. This commit includes a change where url generation from parts has been moved to AD::Http::URL as a class method.
* Revert "Quick fix for not escaping []s (not ideal)"Santiago Pastorino2010-11-181-3/+3
| | | | | | | | | According to http://www.ietf.org/rfc/rfc2616.txt and http://tools.ietf.org/rfc/rfc3986.txt [ and ] are reserved characters and should be escaped using "%" HEX HEX This reverts commit 856d2fd874d72dd9f83204affff4edfef3308361 and 1ee9b40b18a0bed5bb10a0785f7e2730bac983f6..
* Anchors should be allowed on constraints that are not on path segmentsCarl Lerche2010-11-161-0/+8
|
* Remove deprecated stuff in ActionControllerCarlos Antonio da Silva2010-09-261-7/+7
| | | | | | This removes all deprecated classes in ActionController related to Routing, Abstract Request/Response and Integration/IntegrationTest. All tests and docs were changed to ActionDispatch instead of ActionController.
* Remove a few tests from old router that do not make sense with the new one.José Valim2010-09-051-16/+0
|
* Deleted test with extended regexp - it fails with no reason, probably ↵Piotr Sarnacki2010-09-051-21/+0
| | | | rack-mount is doing something weird with that regexp
* Fixed 2 broken tests for router.Łukasz Strzałkowski2010-09-051-3/+3
| | | | They were broken after rebase/merge
* Removed tests for setting default value of *path in routeŁukasz Strzałkowski2010-09-051-25/+0
| | | | If we want to have this - we have to change Rack::Mount source
* Made test_generate passŁukasz Strzałkowski2010-09-051-9/+1
| | | | I've removed assertions with @routes.generate(:use_route => ...). I'm not 100% sure if not supporting :use_route in new router is intentional or it should rather be supported and backported from 2.3.x.
* If it's unused there's no reason to keep it commented. It will always remain ↵Łukasz Strzałkowski2010-09-051-11/+0
| | | | in git history, so removing it.
* Removed rest of errors and failures in routing_test.rb. Almost all squashed, ↵Łukasz Strzałkowski2010-09-051-92/+79
| | | | only few left
* Test for recognizing routes with http method setŁukasz Strzałkowski2010-09-051-1/+40
|
* Fixed about half of broken tests in routing_testŁukasz Strzałkowski2010-09-051-125/+82
|
* Removed deprecated RouteSet API, still many tests failPiotr Sarnacki2010-09-051-348/+327
|
* Revert "Setup explicit requires for files with exceptions. Removed them from ↵José Valim2010-09-021-1/+0
| | | | | | | | autoloading." Booting a new Rails application does not work after this commit [#5359 state:open] This reverts commit 38a421b34d0b414564e919f67d339fac067a56e6.
* Setup explicit requires for files with exceptions. Removed them from ↵Łukasz Strzałkowski2010-09-021-0/+1
| | | | | | autoloading. Signed-off-by: José Valim <jose.valim@gmail.com>
* Support routing constraints in functional testsAndrew White2010-08-201-1/+1
| | | | | | | | | | Extend assert_recognizes and assert_generates to support passing full urls as the path argument. This allows testing of routing constraints such as subdomain and host within functional tests. [#5005 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* 1.9 seems to have a bug involving cloned classes and super. Fix it by not ↵Carlhuda2010-02-261-8/+12
| | | | cloning (and instead creating classes on demand). The 1.9 bug should be investigated.
* Rename named_url_helpers to url_helpers and url_helpers to url_forCarlhuda2010-02-261-2/+2
|
* Continued effort to deglobalize the routerCarlhuda2010-02-251-27/+7
|
* optimise_named_routes is unnecessaryJoshua Peek2010-01-131-4/+0
|
* Remove route loading tests since it should be tested by railtiesJoshua Peek2009-12-141-72/+0
|
* Remove fancy method not allowed resource exceptions since they areJoshua Peek2009-12-111-6/+3
| | | | too much of a hack
* Kill RouteSet#recognizeJoshua Peek2009-12-101-126/+68
|
* Deprecate recalling generation params when the defaults are nilJoshua Peek2009-12-061-3/+1
|
* Update rackmount to fix some pending testsJoshua Peek2009-12-051-13/+9
|
* Stop escaping "[]" in query stringJoshua Peek2009-12-021-3/+3
|
* Make recognize try to constantize controller to see if it existsJoshua Peek2009-12-011-2/+0
|
* Fix generating params with optional defaults [#3404 state:resolved]Joshua Peek2009-12-011-3/+1
|
* Privatize Routing.possible_controllers and fix brittle url helperJoshua Peek2009-11-231-24/+0
| | | | controller test loading.
* Remove inflection reloads routes testJoshua Peek2009-11-231-7/+0
|
* Pending test now passingJeremy Kemper2009-11-231-8/+6
|
* Extended and case insensitive regexp routes aren't that important.Joshua Peek2009-11-191-15/+24
| | | | Mark them as pending till I figure it out.
* Add pending test for generating routes with optional params that recall lastJoshua Peek2009-11-091-0/+36
| | | | request
* Add pending test for route generation with default paramJoshua Peek2009-11-091-0/+16
|
* Ruby 1.9: don't assume params are US-ASCII. Hands off the encoding.Jeremy Kemper2009-11-041-0/+1
|
* Start migrating AC routing tests into dispatch folderJoshua Peek2009-10-271-332/+0
|
* New routing dslJoshua Peek2009-10-201-0/+332
|
* Donate tests I wrote for rackmount rails integrationJoshua Peek2009-10-201-2/+312
|
* Replace decaying routing internals w/ rack-mountJoshua Peek2009-10-191-27/+0
|
* Kill routing tests expecting path to be unescaped. Most rack servers already ↵Joshua Peek2009-10-191-50/+12
| | | | escape PATH_INFO.
* Relax generation requirements and only enforce the requirements used in the ↵Joshua Peek2009-10-181-13/+0
| | | | path segment
* Don't use use_controllers in routing testsJoshua Peek2009-10-181-4/+4
|
* This is routing error message test is tightly coupled to the implementation. ↵Joshua Peek2009-10-171-16/+1
| | | | Just test that it raises an exception.
* Drop legacy support for case insensitive controller recognitionJoshua Peek2009-10-171-11/+0
|
* Fix brittle query string comparisonsJoshua Peek2009-10-171-7/+18
|