aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/controller
Commit message (Collapse)AuthorAgeFilesLines
* adding session_options initialization and test [#2303 state:resolved]Ryan Angilly2009-03-241-0/+4
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Updates tests to cause the tests for the Request class not to proxy through ↵David Dollar2009-03-241-230/+218
| | | | | | a fake TestRequest object [#2278 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Reset request_parameters in TestRequest#recycle! to avoid multiple posts ↵Peter Marklund2009-03-241-0/+8
| | | | | | clobbering each other [#2271 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* just kill brittle testJoshua Peek2009-03-241-21/+0
|
* Merge branch 'master' into bodypartsJeremy Kemper2009-03-185-21/+47
|\
| * update rack fixture to be ruby 1.9 compatJoshua Peek2009-03-151-2/+2
| |
| * Better error message to try to figure out why the CI build is failingJoshua Peek2009-03-151-1/+11
| |
| * update rack fixture to be ruby 1.9 compatJoshua Peek2009-03-151-1/+1
| |
| * Fix brittle Time.now mockJoshua Peek2009-03-151-16/+4
| |
| * allowed render :file to take Pathnames [#2220 state:resolved]misfo2009-03-141-0/+10
| | | | | | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
| * Fix requirements for additional member/collection routes [#2054 state:resolved]Mike Gunderloy2009-03-141-0/+26
| | | | | | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
| * Revert 5b7527ca "Failing test for routes with member & requirement" [#2054 ↵Joshua Peek2009-03-131-8/+0
| | | | | | | | state:wontfix]
| * Update rack to fix multipart uploads with an empty file [#1945 state:resolved]Joshua Peek2009-03-131-1/+1
| |
* | Return body parts directly to Rack rather than building a response string ↵Jeremy Kemper2009-03-122-3/+3
|/ | | | ourselves. Allows Rack middleware to orchestrate response building.
* Handle irregular plurals in polymorphic_urls [#2212 state:resolved]Mike Gunderloy2009-03-121-0/+85
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Support MD5 passwords for Digest auth and use session_options[:secret] in ↵Donald Parish2009-03-121-7/+46
| | | | | | nonce [#2209 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Ensure correct content type is declared after cache hits on actions with ↵Mislav Marohnić2009-03-101-0/+14
| | | | | | string cache keys [#1585 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* reset_session should force a new session id to be generated [#2173]Joshua Peek2009-03-091-16/+24
|
* 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-0812-89/+89
| | | | [#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>
* Ensure shallow routes respects namespace [#1356 state:resolved]Tom Stuart2009-03-071-3/+31
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Fixed simplified render with nested models [#2042 state:resolved]Joshua Peek2009-03-072-0/+26
|
* fix HTML fallback for explicit templates [#2052 state:resolved]Matt Jones2009-03-071-0/+16
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Ensure assert_select works with XML namespaced attributes [#1547 ↵Pratik Naik2009-03-071-0/+5
| | | | state:resolved] [Jon Yurek]
* Ensure expires_in without a :public key sets the Cache-Control header to ↵Johan Sørensen2009-03-071-1/+1
| | | | | | | | | private. [#2095 state:resolved] This fixes a regression introduced in f2a32bd0, which wasn't exposed due to two test methods having the same name. Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Fix layouts with absolute paths [#2134 state:resolved]thedarkone2009-03-051-1/+11
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Failing test for routes with member & requirement [#2054 state:resolved]Mike Gunderloy2009-03-051-0/+8
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Generating routes with optional format segment does not inherit params ↵Joshua Peek2009-03-041-0/+16
| | | | format [#2043 state:resolved]
* Allow routes with a trailing slash to be recognizedMike Gunderloy2009-03-041-2/+10
| | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> [#2039 state:committed]
* Added ability to pass in :public => true to fresh_when, stale?, and ↵Gregg Pollack2009-02-281-0/+72
| | | | | | expires_in to make the request proxy cachable [#2095 state:committed] Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
* correctly handle layouts for AJAX requests and regular js files [#2052 ↵Matt Jones2009-02-241-4/+5
| | | | | | state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Expected cookie value should also be escaped.moro2009-02-211-1/+1
| | | | | | | | Ruby 1.9 compat for test. [#1965 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* 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>
* make action_controller/layouts pick templates from the current instance's ↵Sven Fuchs2009-02-201-0/+14
| | | | | | view_paths instead of the class view_paths [#1974 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Move development mode reloading up the stack to avoid issues with class ↵Joshua Peek2009-02-201-5/+8
| | | | reloading in middleware
* Lazy evaluate middleware arguments [#2028 state:resolved]Sven Fuchs2009-02-201-0/+7
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Lazy evaluate ActionController session store middleware class to pickup ↵Joshua Peek2009-02-191-0/+7
| | | | custom plugin session stores [#2001 state:resolved]
* Fix templates reloading in development when using custom view path [#2012 ↵Joshua Peek2009-02-191-15/+11
| | | | state:resolved]
* Fixed http digest authentication to use credentials URI passed from client. ↵Donald Parish2009-02-161-1/+10
| | | | | | [#1848 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Port fast reloadable templates from rails-dev-boost.thedarkone2009-02-121-11/+15
|
* Remove space from the test name [#1953 state:resolved]Mike Gunderloy2009-02-121-1/+1
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Update bundled Rack for Ruby 1.9 spec changesJoshua Peek2009-02-073-10/+12
|
* Deprecate ActionController::Response#set_cookie :http_only option infavor of ↵Joshua Peek2009-02-071-1/+1
| | | | :httponly
* Temporarily bundle Rack 1.0 prerelease for testingJoshua Peek2009-02-072-5/+4
|
* Added support to dashed locales in templates localization [#1888 state:resolved]José Valim2009-02-061-7/+0
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Ensure session id is set in session options hash [#1880 state:resolved]Joshua Peek2009-02-062-1/+36
|
* Ruby 1.9 compat: call bytesize for content_lengthEugene Pimenov2009-02-061-0/+15
| | | | | | [#1881 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>