aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test
Commit message (Collapse)AuthorAgeFilesLines
* Cleaning up and documenting AbstractController::LayoutsYehuda Katz + Carl Lerche2009-06-092-4/+4
|
* Write documentation for AbstractController::HelpersYehuda Katz + Carl Lerche2009-06-091-3/+16
|
* Sanitized the id generated by text_area_tag helper method. ↵Stephen Anderson2009-06-091-0/+5
| | | | | | text_area_tag('item[description]') should return: <textarea id="item_description" name="item[description]"></textarea> instead of: <textarea id="item[description]" name="item[description]"></textarea> The old id was causing HTML validation failures. Signed-off-by: Michael Koziarski <michael@koziarski.com>
* Made label target radio button tags with values. Radio button now respects ↵David Stevenson2009-06-091-0/+19
| | | | | | inherited :index options when generating id. Signed-off-by: Michael Koziarski <michael@koziarski.com>
* 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>
* Writing comments to AbstractControllerYehuda Katz + Carl Lerche2009-06-084-43/+43
|
* ActionPack components should no longer have undeclared dependencies.Yehuda Katz + Carl Lerche2009-06-088-28/+51
| | | | | | | * 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
|
* Further cleaning up new callbacksYehuda Katz2009-06-021-1/+1
|
* Simplify callbacks to use less metaprogrammingYehuda Katz2009-06-021-1/+1
|
* Get all the callback tests to work on new baseYehuda Katz + Carl Lerche2009-06-011-22/+46
|
* Ensure ERB source begins with the encoding commentJeremy Kemper2009-06-013-5/+26
|
* fix for IE incompatibility of :disable_with in submit_tagHan Kessels2009-06-011-3/+3
| | | | Signed-off-by: Michael Koziarski <michael@koziarski.com>
* Sidestep need for Kernel#silence_warningsJeremy Kemper2009-05-301-4/+4
|
* Revert "Only save the session if we're actually writing to it [#2703 ↵Joshua Peek2009-05-302-30/+0
| | | | | | state:resolved]" This reverts commit dd98280e38d640f5724887cf8a715b79f0439d2d.
* Make sure tests pass action name to Controller.action()Pratik Naik2009-05-301-1/+1
|
* Ruby 1.9: ERB template encoding using a magic comment at the top of the fileJeremy Kemper2009-05-282-2/+5
|
* Ruby 1.9: flushing the output buffer preserves its encodingJeremy Kemper2009-05-281-0/+11
|
* Reinstate pending output buffer testsJeremy Kemper2009-05-281-28/+36
|
* Only save the session if we're actually writing to it [#2703 state:resolved]Johan Sörensen2009-05-282-0/+30
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* 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>
* Get all template tests passing on new baseCarl Lerche2009-05-261-1/+4
|
* Got all the dispatch tests running on new baseCarl Lerche2009-05-261-2/+2
|
* 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
|
* Make cookie store tests pass with the new basePratik Naik2009-05-251-0/+3
|
* test depends on html-scannerJeremy Kemper2009-05-231-0/+1
|
* Slightly modify things to get content type matching working without breaking ↵Yehuda Katz2009-05-233-1/+33
| | | | other code
* Modify render_test's determine_layout to match RJSYehuda Katz + Carl Lerche2009-05-221-3/+1
|
* Restore some missing test constantsJeremy Kemper2009-05-221-0/+8
|
* Move html-scanner tests one dir upPratik Naik2009-05-237-0/+0
|
* Move testing_sandbox to test/libJeremy Kemper2009-05-221-0/+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
|
* Add Translation to the new basePratik Naik2009-05-231-0/+3
|
* 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-233-0/+3
|
* 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 active_record_unit to shared load pathJeremy Kemper2009-05-221-3/+3
|
* Move fake controllers and models to a common load pathJeremy Kemper2009-05-223-1/+1
|
* Complain if new_base/abstract_unit was already loadedJeremy Kemper2009-05-221-0/+4
|
* Move misplaced testJeremy Kemper2009-05-221-20/+0
|
* 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-233-6/+6
|