aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test
Commit message (Collapse)AuthorAgeFilesLines
* Introduce flush_output_buffer to append the buffer to the response body then ↵Jeremy Kemper2009-03-131-0/+35
| | | | start a new buffer. Useful for pushing custom parts to the response body without disrupting template rendering.
* 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>
* Ensure auto_link doesnt linkify URLs in the middle of a tag [#1523 ↵Eugene Pimenov2009-03-101-0/+6
| | | | | | 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-092-16/+49
|
* Ensure blank path_prefix works as expected [#2122 state:resolved]Andrew Bloom2009-03-091-2/+32
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Fixed number_to_phone to work with 7 digit numbers [#2176 state:resolved]rpheath2009-03-091-0/+1
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Ruby 1.9 compat: rename deprecated assert_raises to assert_raise.Jeremy Kemper2009-03-0813-90/+90
| | | | [#1617 state:resolved]
* Remove duplicate test [#2136 state:resolved]Yury Kotlyarov2009-03-081-5/+0
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* 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-074-0/+31
|
* fix HTML fallback for explicit templates [#2052 state:resolved]Matt Jones2009-03-072-0/+17
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* submit_tag with confirmation and disable_with [#660 state:resolved]Lawrence Pit2009-03-071-2/+9
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Ensure Active Record error related view helpers escape the message [#1280 ↵Dan Barry2009-03-071-0/+34
| | | | | | state:resolved] [Inge Jørgensen, Dan Barry] Signed-off-by: Pratik Naik <pratiknaik@gmail.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]
* Fixed reset_session for ActiveRecord session store [#2108 state:resolved]Joshua Peek2009-03-031-0/+21
|
* Fix spelling in test name.Mike Gunderloy2009-02-281-1/+1
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* 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>
* Pass a custom form builder on to nested fields_for calls. [#2023 ↵Eloy Duran2009-02-271-0/+41
| | | | | | status:committed] Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
* missed template fixtures with ~Joshua Peek2009-02-243-0/+3
|
* Template without a known template handler should only be reachable through ↵thedarkone2009-02-241-0/+10
| | | | | | its exact path. [#2027 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* correctly handle layouts for AJAX requests and regular js files [#2052 ↵Matt Jones2009-02-242-4/+7
| | | | | | state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Don't depend on project.developers orderingJeremy Kemper2009-02-211-2/+2
|
* 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-202-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-192-40/+114
| | | | 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>
* Enhanced form option helpers to add support for disabled option tags and use ↵Tekin Suleyman2009-02-141-0/+84
| | | | | | of anonymous functions for specifying selected and disabled values from collections. Signed-off-by: Michael Koziarski <michael@koziarski.com>
* DRY up form option helper testsTekin Suleyman2009-02-141-78/+19
| | | | Signed-off-by: Michael Koziarski <michael@koziarski.com>
* Stops date select helpers from defaulting the selected date to today if ↵Sam Oliver2009-02-131-14/+14
| | | | | | | :prompt option has been used Signed-off-by: Michael Koziarski <michael@koziarski.com> [#561 state:resolved]
* Changed API of NestedAttributes to take an array, or hash with index keys, ↵Lance Ivy2009-02-131-8/+30
| | | | | | | | of hashes that have the id on the inside of the attributes hash and updated the FormBuilder to produce such hashes. Also fixed NestedAttributes with composite ids. Signed-off-by: Michael Koziarski <michael@koziarski.com> Signed-off-by: Eloy Duran <eloy.de.enige@gmail.com> [#1892 state:committed]
* Port fast reloadable templates from rails-dev-boost.thedarkone2009-02-124-30/+73
|
* Remove space from the test name [#1953 state:resolved]Mike Gunderloy2009-02-121-1/+1
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Move checkbox hidden field before the actual checkbox so the actual value ↵Joshua Peek2009-02-101-38/+34
| | | | doesn't get clobbered [#1863 state:resolved]
* Fix some edge cases when the same template is called with different local ↵Andrew White2009-02-101-32/+54
| | | | | | assigns Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Added partial scoping to TranslationHelper#translate, so if you call ↵David Heinemeier Hansson2009-02-101-0/+6
| | | | translate('.foo') from the people/index.html.erb template, you'll actually be calling I18n.translate(people.index.foo) [DHH]