aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test
Commit message (Collapse)AuthorAgeFilesLines
...
* Fixes a number of tests that inexplicably didn't fail when we committed the ↵Yehuda Katz + Carl Lerche2009-07-024-12/+12
| | | | original patch
* Adds a video_tag helper for the HTML5 video tag (similar to how the ↵Tieg Zaharia2009-07-021-2/+41
| | | | | | image_tag works) (tests included); removes a duplicate test line for image_tag; adds boolean attributes for video tag to tag()'s boolean attributes Signed-off-by: Yehuda Katz + Carl Lerche <ykatz+clerche@engineyard.com>
* Move mocha down below initial T::U require and bump version to 0.9.7 [#2858 ↵Yehuda Katz + Carl Lerche2009-07-011-3/+0
| | | | state:resolved]
* 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 text_area_tag escape contents by default.Chris Mear2009-06-271-0/+12
| | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> [#2015 state:committed]
* Make filter_parameters work correctly with array parameters.Vicente Mundim2009-06-271-1/+2
|
* Handle missing javascript/stylesheets assets by raising an exceptionChristos Zisopoulos2009-06-265-30/+92
| | | | | | | | | | | | An exception will be raised if a local javascript/stylesheet file included by the stylesheet_link_tag or javascript_include_tag can not be found. When caching is enabled, we use atomic_write to ensure that the cache file is not created with zero length. Signed-off-by: Michael Koziarski <michael@koziarski.com> [#2738 state:committed]
* ignore absolute tmp directoryJoshua Peek2009-06-251-0/+1
|
* send_data should set Content-Length as a stringJoshua Peek2009-06-251-1/+1
|
* Remove deprecated implicit ivar assignmentJoshua Peek2009-06-251-7/+0
|
* Passes in 1.9Yehuda Katz + Carl Lerche2009-06-231-3/+3
|
* Fix polymorphic_path doesn't modify options hash [#2099 state:resolved]=?utf-8?q?Mislav=20Marohni=C4=87?=2009-06-211-3/+6
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Add content_for?(:name) helper to check if content_for(:name) is present ↵Darragh Curran2009-06-211-0/+15
| | | | | | [#1311 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Use errors[field] instead of errors.on(field)Jeremy Kemper2009-06-172-9/+9
|
* Drive the final stake through @content_for_*'s heart!Yehuda Katz + Carl Lerche2009-06-173-4/+4
|
* Cleaning up more tests and code that needed to work in both old and new baseYehuda Katz + Carl Lerche2009-06-176-90/+36
|
* Remove some defined?(Http) checksYehuda Katz + Carl Lerche2009-06-172-0/+3
|
* Rename ActionView::Template::Path ActionView::ResolverYehuda Katz + Carl Lerche2009-06-1715-62/+25
|
* Finish making pending tests passYehuda Katz + Carl Lerche2009-06-172-7/+8
|
* 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-175-45/+52
|
* Fix pending test about content-typeYehuda Katz + Carl Lerche2009-06-171-5/+19
|
* Move model naming into ActiveModelJoshua Peek2009-06-179-0/+16
|
* 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
* Remove exceptions from AbstractUnit so they work in real lifeYehuda Katz + Carl Lerche2009-06-161-58/+1
|
* More _write_layout_method removalYehuda Katz + Carl Lerche2009-06-152-14/+0
|
* Whoops, I guess we broke layouts ;)Yehuda Katz + Carl Lerche2009-06-154-26/+1
|
* Get the new base tests to passYehuda Katz + Carl Lerche2009-06-151-2/+1
|
* Get the AR integration tests to passYehuda Katz + Carl Lerche2009-06-151-3/+4
|
* Fix the fixture pathYehuda Katz + Carl Lerche2009-06-151-1/+1
|
* Get tests to run (with failures) without old base aroundYehuda Katz + Carl Lerche2009-06-153-194/+194
|
* Finish making things pass with updated internal content_type semanticsYehuda Katz + Carl Lerche2009-06-152-8/+6
|
* Add :concat option to asset tag helpers to force concatenation.Joshua Peek2009-06-151-0/+30
| | | | | This is useful for working around IE's stylesheet limit. stylesheet_link_tag :all, :concat => true
* allow absolute paths for the asset cachesAndrew Kaspick2009-06-111-0/+16
| | | | Signed-off-by: Michael Koziarski <michael@koziarski.com>
* Document and clean up HideActions and HttpYehuda Katz + Carl Lerche2009-06-101-3/+8
|
* 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.