aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test
Commit message (Collapse)AuthorAgeFilesLines
* Simpler RenderOption API -- removes the need for registering the types and ↵Carlhuda2009-12-091-0/+14
| | | | extending a module
* More test portingJoshua Peek2009-12-083-10/+9
|
* Tack format onto resource routesJoshua Peek2009-12-081-3/+15
|
* Use new routing dsl in testsJoshua Peek2009-12-0815-67/+56
|
* Fix ambiguous access_token scoping exampleJoshua Peek2009-12-081-5/+5
|
* Routes added under resource collection should be prefixed withJoshua Peek2009-12-081-13/+4
| | | | resource collection name
* Fixed named prefix scope in resource member and collection actionsJoshua Peek2009-12-071-16/+6
|
* named_prefix doesn't join with "_"Joshua Peek2009-12-071-1/+1
|
* Allow name_prefix to be pass into scopeJoshua Peek2009-12-071-8/+4
|
* Allow scope to take :path and :controller optionsJoshua Peek2009-12-071-1/+1
|
* 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
|
* Reorganize autoloads:Carlhuda2009-12-025-20/+20
| | | | | | | | | | | | | | | | | | | | | * 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
|
* Fix parens warning in ajax testJoshua Peek2009-12-011-6/+6
|
* Make recognize try to constantize controller to see if it existsJoshua Peek2009-12-012-3/+12
|
* 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
|/
* Fix some nested resource generation testsJoshua Peek2009-11-291-6/+2
|
* 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-232-50/+19
| | | | controller test loading.
* Find all controllers in memory to use for routingJoshua Peek2009-11-231-12/+0
|
* 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 basic nested named route support to new routing dsl. Also add aJoshua Peek2009-11-191-0/+52
| | | | bunch of pending tests.
* 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
* Allow explicit placement of hidden id element for nested models.Will Read2009-11-151-11/+55
| | | | | | [#3259 state:resolved] Signed-off-by: Eloy Duran <eloy.de.enige@gmail.com>
* 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>
* Rack: HTTPS is either 'on' or 'off' as of ↵Jeremy Kemper2009-11-101-1/+1
| | | | 9b7a0569e4067d0c23a00fc24273436e85c56d7f
* test-unit 2 compat: assert_raise doesn't support regexp second arg to match ↵Jeremy Kemper2009-11-102-2/+2
| | | | exception message
* Avoid adding component lib/ to load path multiple timesJoshua Peek2009-11-091-1/+3
|
* Remove preflight lib check during AP tests. Bundler resolves this issueJoshua Peek2009-11-091-6/+0
|
* Don't warn me if I'm not using bundler to run testsJoshua Peek2009-11-091-1/+0
|
* 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
|
* Remark when bundled env require failsJeremy Kemper2009-11-091-0/+1
|
* Symbol#to_proc is not needed for Ruby >= 1.8.7Xavier Noria2009-11-091-1/+0
|
* Merge remote branch 'Fingertips/master'Joshua Peek2009-11-081-4/+9
|\
| * Share ActionView::TestCase's output_buffer with view for concat support.Chris Hapgood2009-11-071-0/+5
| | | | | | | | | | | | [#3467 state:resolved] Signed-off-by: Eloy Duran <eloy.de.enige@gmail.com>
| * Make some assertions in the ActionView::TestCase tests actually do something.Chris Hapgood2009-11-071-4/+4
| | | | | | | | | | | | [#3468 state:resolved] Signed-off-by: Eloy Duran <eloy.de.enige@gmail.com>
* | Unknown :format param should result in empty request.formatsJeremy Kemper2009-11-081-0/+4
|/
* When rendering layouts with blocks, use #capture to avoid assuming that the ↵Nathan Weizenbaum2009-11-051-1/+1
| | | | | | return value is the block's content. Signed-off-by: Yehuda Katz <wycats@Yehuda-Katz.local>
* Ruby 1.9: don't assume params are US-ASCII. Hands off the encoding.Jeremy Kemper2009-11-041-0/+1
|
* Ruby 1.9: fix number precision testJeremy Kemper2009-11-041-1/+1
|
* Ruby 1.9: resolve constant lookup issuesJeremy Kemper2009-11-0410-19/+19
|