aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/controller
Commit message (Collapse)AuthorAgeFilesLines
...
* Added tests for respond_to class method.José Valim2009-07-291-2/+68
| | | | Signed-off-by: Yehuda Katz <wycats@gmail.com>
* Refactor even more Responder. Move mime negotiation to request and added ↵José Valim2009-07-291-10/+12
| | | | | | respond_to class method. Signed-off-by: Yehuda Katz <wycats@gmail.com>
* Refactor Responder to only calculate available mime types. Those are sent to ↵José Valim2009-07-291-3/+3
| | | | | | the controller that knows what to do with it (render a block or call default render). Signed-off-by: Yehuda Katz <wycats@gmail.com>
* AMo conversion helperJoshua Peek2009-07-212-2/+4
|
* Define ActiveModel API ComplianceYehuda Katz2009-07-202-2/+2
| | | | | | - Define to_model on AR - Define to_model on ActiveModel::APICompliant - Update test fixtures to be API Compliant - Start using to_model in AP
* 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>
* Make filter_parameters work correctly with array parameters.Vicente Mundim2009-06-271-1/+2
|
* send_data should set Content-Length as a stringJoshua Peek2009-06-251-1/+1
|
* Remove deprecated implicit ivar assignmentJoshua Peek2009-06-251-7/+0
|
* Cleaning up more tests and code that needed to work in both old and new baseYehuda Katz + Carl Lerche2009-06-175-82/+31
|
* Finish making pending tests passYehuda Katz + Carl Lerche2009-06-171-7/+7
|
* RJS doesn't render with an HTML layout by defaultYehuda Katz + Carl Lerche2009-06-171-5/+3
|
* Fixing pending tests and fixed some formats / partial rendering semanticsYehuda Katz + Carl Lerche2009-06-171-19/+3
|
* Fix pending test about content-typeYehuda Katz + Carl Lerche2009-06-171-5/+19
|
* Move model naming into ActiveModelJoshua Peek2009-06-172-0/+3
|
* An exception is raised if a layout is missing only if the layout is missing ↵Yehuda Katz + Carl Lerche2009-06-161-8/+0
| | | | for all mimes
* More _write_layout_method removalYehuda Katz + Carl Lerche2009-06-152-14/+0
|
* Finish making things pass with updated internal content_type semanticsYehuda Katz + Carl Lerche2009-06-152-8/+6
|
* Document and clean up HideActions and HttpYehuda Katz + Carl Lerche2009-06-101-3/+8
|
* Write documentation for AbstractController::HelpersYehuda Katz + Carl Lerche2009-06-091-3/+16
|
* A test to show that http_authentication needs to fail authentication if the ↵nate2009-06-091-0/+14
| | | | | | password procedure returns nil. Also includes a fix to validate_digest_response to fail validation if the password procedure returns nil. Signed-off-by: Michael Koziarski <michael@koziarski.com>
* ActionPack components should no longer have undeclared dependencies.Yehuda Katz + Carl Lerche2009-06-082-7/+7
| | | | | | | * 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
* YAGNI Method references. DeprecatedYehuda Katz2009-06-021-4/+6
|
* Get all the callback tests to work on new baseYehuda Katz + Carl Lerche2009-06-011-22/+46
|
* Sidestep need for Kernel#silence_warningsJeremy Kemper2009-05-301-4/+4
|
* Make sure tests pass action name to Controller.action()Pratik Naik2009-05-301-1/+1
|
* The FlashHash and friends causes a lot of needless session storing, when we ↵Johan Sörensen2009-05-281-1/+6
| | | | | | know for a fact that there's no content in the flash. By not storing the empty hash in the session we save a lot of communication with the various session backends, while still keeping the same interface to the flash. [#2703 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Memoize cookies so that updates to cookies are available in the current ↵Olly Legg2009-05-281-0/+6
| | | | | | request. [#2733 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Added a compatibility layer to get legacy filter tests to pass on new baseYehuda Katz + Carl Lerche2009-05-271-5/+27
|
* Add % to RESERVED_PCHAR [#2574 state:resolved]Eduard Bondarenko2009-05-271-0/+5
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* ActionController::Flash::FlashHash.use now returns either the value ↵Niels Ganser2009-05-271-0/+15
| | | | | | corresponding to the passed key or itself when no key is passed [#1792 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Remove a no-op from view path tests and removed a Symbol#to_procCarl Lerche2009-05-261-2/+2
|
* Make Filter#filter work with around filtersPratik Naik2009-05-251-59/+54
|
* test depends on html-scannerJeremy Kemper2009-05-231-0/+1
|
* Modify render_test's determine_layout to match RJSYehuda Katz + Carl Lerche2009-05-221-3/+1
|
* Move html-scanner tests one dir upPratik Naik2009-05-237-944/+0
|
* Cordon off missing filter methodsJeremy Kemper2009-05-221-0/+8
|
* Got controller/render_js_test.rb to pass on new baseYehuda Katz + Carl Lerche2009-05-221-0/+2
|
* Port cookies to new baseJeremy Kemper2009-05-221-13/+27
|
* Get controller/render_other_test.rb to pass on new base and fixed a bug in ↵Yehuda Katz + Carl Lerche2009-05-221-3/+11
| | | | new base with regards to rendering layouts.
* Add some more tests to the test_new_base_on_old_tests taskPratik Naik2009-05-232-0/+2
|
* Make logging_test pass with the new basePratik Naik2009-05-231-2/+2
|
* Remove gratuitous filter_chain internal testing. Not part of the API and ↵Jeremy Kemper2009-05-221-25/+0
| | | | other tests are sufficient to catch regressions.
* Move fake controllers and models to a common load pathJeremy Kemper2009-05-223-53/+1
|
* Get controller/layout_test.rb running on new base except for ↵Yehuda Katz + Carl Lerche2009-05-221-7/+10
| | | | ActionController::Base.exempt_from_layout which is going to be deprecated.
* Add all the existing helpers related features to the new basePratik Naik2009-05-231-3/+3
|
* Move FilterParameterLogging to a stand alone module and make it work on new basePratik Naik2009-05-221-3/+42
|
* Make assertion tests pass with the new basePratik Naik2009-05-221-3/+3
|
* Move Safari response-padding fix to Rails2Compatibility. Should be a Rack ↵Jeremy Kemper2009-05-212-3/+3
| | | | concern.