aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/controller/routing_test.rb
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
|
* Fix standalone run of routing test. Only reference controllers that are ↵Joshua Peek2009-10-171-8/+8
| | | | provided in fake_controllers
* Stop using with_controllers in testsJoshua Peek2009-10-171-96/+72
|
* No longer need this special routing exception message because these kinds of ↵Joshua Peek2009-10-171-13/+0
| | | | ambiguous generations are deprecated
* Drop support for routing :generate_allJoshua Peek2009-10-171-14/+0
|
* Invalid route requirements should always raise an exception even if they are ↵Joshua Peek2009-10-171-8/+0
| | | | unused
* Kill mock routing assertion that tests router implementationJoshua Peek2009-10-101-13/+0
|
* Relative url generations are covered more thoroughly by url rewriter testsJoshua Peek2009-10-101-12/+0
|
* Drop implementation specific routing test assertionsJoshua Peek2009-10-101-3/+0
|
* Avoid creating new controller constants during test runtime. All routable ↵Joshua Peek2009-10-031-59/+3
| | | | controllers should be defined beforehand.
* Use draw/connect mapper api instead of directly using add_named_routeJoshua Peek2009-09-061-12/+34
|
* Fix failing isolated routing testJoshua Peek2009-09-051-16/+16
|
* Track all AC base subclasses as possible controllers for internal testingJoshua Peek2009-08-251-70/+16
|
* Cleanup route reloading in tests. Prefer with_routing over using ↵Joshua Peek2009-08-161-2/+1
| | | | ActionController::Routing::Routes directly
* Axe "best fit" generation supportJoshua Peek2009-08-151-12/+0
|
* Attempt to rewrite most of the highly coupled router segments testsJoshua Peek2009-08-141-741/+221
|
* Kill routing timed testsJoshua Peek2009-08-141-50/+3
|
* Deprecate router generation "best match" sortingJoshua Peek2009-08-091-3/+5
|
* Ruby 1.9 compat: fix route recognition encoding testJeremy Kemper2009-08-071-1/+1
|
* Allow symbols on routes declaration (:controller and :action values) [#2828 ↵Jesús García Sáez2009-07-021-0/+10
| | | | | | state:resolved] Signed-off-by: Yehuda Katz + Carl Lerche <ykatz+clerche@engineyard.com>
* Accept Symbol for contoller name [#2855 state:resolved]Yehuda Katz + Carl Lerche2009-07-011-0/+11
| | | Signed-off-by: Yehuda Katz + Carl Lerche <ykatz+clerche@engineyard.com>
* ActionPack components should no longer have undeclared dependencies.Yehuda Katz + Carl Lerche2009-06-081-4/+4
| | | | | | | * Tests can be run in isolation * Dependencies added * A few tests modified to avoid depending on AS deps not depended on my files they were testing
* Sidestep need for Kernel#silence_warningsJeremy Kemper2009-05-301-4/+4
|
* Add % to RESERVED_PCHAR [#2574 state:resolved]Eduard Bondarenko2009-05-271-0/+5
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Add some more tests to the test_new_base_on_old_tests taskPratik Naik2009-05-231-0/+1
|
* Start moving TestRequest and TestResponse into ActionDispatchJoshua Peek2009-04-301-4/+4
|
* Ensure blank path_prefix works as expected [#2122 state:resolved]Andrew Bloom2009-03-091-2/+32
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Ruby 1.9 compat: rename deprecated assert_raises to assert_raise.Jeremy Kemper2009-03-081-27/+27
| | | | [#1617 state:resolved]
* Support OPTIONS verb in route conditions [#1727 state:resolved]Mike Gunderloy2009-03-081-0/+8
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Generating routes with optional format segment does not inherit params ↵Joshua Peek2009-03-041-0/+16
| | | | format [#2043 state:resolved]
* Fix requirements regexp for path segmentsAndrew White2009-02-221-0/+24
| | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1772 state:committed]
* Remove hardcoded number_of_capturesin ControllerSegment to allow regexp ↵Andrew White2009-02-221-0/+9
| | | | | | | requirements with capturing parentheses Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1887 state:committed]
* fix test data, should specify encoding to use multibyte chars on Ruby 1.9moro2009-02-201-0/+1
| | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Bump mocha requirement for Ruby 1.9 compat. Remove uses_mocha.Jeremy Kemper2009-02-031-1383/+1381
|
* Make router and controller classes better rack citizensJoshua Peek2008-12-281-73/+60
|
* Added support for multiple routes files and made draw not clear the map so ↵David Heinemeier Hansson2008-11-261-4/+25
| | | | they can be additive
* Use autoload instead of explicit requires for ActionControllerJoshua Peek2008-11-231-1/+0
|
* Make optimized named routes respect all reserved options and tie it into ↵Gabe da Silveira2008-11-181-3/+9
| | | | | | UrlRewriter::RESERVED_OPTIONS so it's DRY Signed-off-by: Michael Koziarski <michael@koziarski.com>