aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/controller
Commit message (Collapse)AuthorAgeFilesLines
...
* Reorganize autoloads:Carlhuda2009-12-022-2/+2
| | | | | | | | | | | | | | | | | | | | | * A new module (ActiveSupport::Autoload) is provide that extends autoloading with new behavior. * All autoloads in modules that have extended ActiveSupport::Autoload will be eagerly required in threadsafe environments * Autoloads can optionally leave off the path if the path is the same as full_constant_name.underscore * It is possible to specify that a group of autoloads live under an additional path. For instance, all of ActionDispatch's middlewares are ActionDispatch::MiddlewareName, but they live under "action_dispatch/middlewares/middleware_name" * It is possible to specify that a group of autoloads are all found at the same path. For instance, a number of exceptions might all be declared there. * One consequence of this is that testing-related constants are not autoloaded. To get the testing helpers for a given component, require "component_name/test_case". For instance, "action_controller/test_case". * test_help.rb, which is automatically required by a Rails application's test helper, requires the test_case.rb for all active components, so this change will not be disruptive in existing or new applications.
* Stop escaping "[]" in query stringJoshua Peek2009-12-021-3/+3
|
* Ensure Cache-Control max-age is an integerJeremy Kemper2009-12-021-1/+1
|
* Make recognize try to constantize controller to see if it existsJoshua Peek2009-12-011-2/+0
|
* Merge branch 'master' of github.com:rails/railsJoshua Peek2009-12-012-0/+18
|\
| * Fix caching test to ensure notifications are all deliveredJeremy Kemper2009-12-011-0/+1
| |
| * Allow ActionController::Responder to have a common entry point for all formats.José Valim2009-12-011-0/+17
| | | | | | | | Signed-off-by: Yehuda Katz <wycats@Yehuda-Katz.local>
* | Fix generating params with optional defaults [#3404 state:resolved]Joshua Peek2009-12-011-3/+1
|/
* Notifications: extract central Notifier, cordon off the internal Fanout ↵Jeremy Kemper2009-11-281-1/+3
| | | | implementation, and segregate instrumentation concerns
* 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.
* Fix test bleedJeremy Kemper2009-11-181-1/+1
|
* Extract form_authenticity_param instance method so it's overridable in ↵Jeremy Kemper2009-11-171-1/+19
| | | | subclasses
* Split mime responder into smaller chunks and allow action to be configured.José Valim2009-11-131-1/+21
| | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* test-unit 2 compat: assert_raise doesn't support regexp second arg to match ↵Jeremy Kemper2009-11-101-1/+1
| | | | exception message
* 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
|
* Symbol#to_proc is not needed for Ruby >= 1.8.7Xavier Noria2009-11-091-1/+0
|
* Ruby 1.9: don't assume params are US-ASCII. Hands off the encoding.Jeremy Kemper2009-11-041-0/+1
|
* Ruby 1.9: resolve constant lookup issuesJeremy Kemper2009-11-044-11/+11
|
* Ruby 1.9: more constant lookup badness :(Jeremy Kemper2009-11-041-1/+1
|
* Move some of helper tests to AbstractController.José Valim2009-11-011-34/+0
|
* Caching refactoringYehuda Katz2009-10-291-2/+6
|
* Start migrating AC routing tests into dispatch folderJoshua Peek2009-10-271-332/+0
|
* Clean up parameter logging someYehuda Katz2009-10-261-9/+9
|
* Clean up and update cookiesYehuda Katz2009-10-261-6/+5
|
* Fixes expires_now and cleans things up a bitYehuda Katz2009-10-261-0/+10
|
* Start rewriting some internal tests to use the new routing dslJoshua Peek2009-10-205-23/+21
|
* New routing dslJoshua Peek2009-10-202-10/+342
|
* Group together all the old routing dsl logicJoshua Peek2009-10-201-5/+5
|
* Move Routing into ADJoshua Peek2009-10-201-6/+6
|
* 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.
* Merge commit 'josevalim/fixes'Jeremy Kemper2009-10-191-0/+8
|\ | | | | | | | | Conflicts: railties/test/generators/app_generator_test.rb
| * Unify class_inheritable_accessor and extlib_inheritable_accessor and allow ↵José Valim2009-10-171-0/+8
| | | | | | | | responder to be set in the class level.
* | 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-5/+5
| |
* | 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
* Merge branch 'master' into orchestraJeremy Kemper2009-10-153-4/+4
|\