aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/template/capture_helper_test.rb
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #2799 from tomstuart/3-1-stableSantiago Pastorino2011-09-051-0/+36
| | | | Never return stored content from content_for when a block is given
* Add tests for content_for() for read, closes #475.José Valim2011-05-101-4/+12
|
* More cleanup and moving responsibilities around.José Valim2011-05-011-5/+5
|
* content_for should work with provide.José Valim2011-04-161-4/+7
|
* Basic tests for streaming. Basic tests for provide.José Valim2011-04-161-0/+11
|
* Yo dawg, I heard you like streaming. So I put a fiber, inside a block, ↵José Valim2011-04-161-1/+1
| | | | inside a body, so you can stream.
* Initial work on fibered layout.José Valim2011-04-161-1/+1
|
* Test that capture doesn't escape twiceSantiago Pastorino2010-11-021-2/+7
|
* Make sure capture's output gets html_escaped [#5545 state:resolved]Jeff Kreeftmeijer2010-11-021-0/+5
| | | | | | | Also remove a duplicate test_link_to_unless assertion and add .html_safe to the remaining one. Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Remove NonConcattingString.José Valim2010-08-291-2/+0
|
* Change returning with tapSantiago Pastorino2010-07-251-1/+1
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Fixed 1 failure and 2 errors in ActionPack testsuite [#4613 state:commited]rohit2010-05-161-1/+1
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* All tests pass without memoizing view_contextCarlhuda2010-03-181-1/+1
|
* adds tests for #flush_output_bufferXavier Noria2010-03-161-2/+37
| | | | | | [#4196 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* adds tests for #captureXavier Noria2010-03-161-0/+23
| | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* adds test coverage for with_output_bufferXavier Noria2010-03-151-3/+45
| | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* with_output_buffer cannot assume there's an output_bufferXavier Noria2010-03-151-0/+6
| | | | | | [#4182 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* 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>