1
0
Fork 0
mirror of https://github.com/sinatra/sinatra synced 2023-03-27 23:18:01 -04:00
Commit graph

13 commits

Author SHA1 Message Date
Jordan Owens
684a1c0fba Support Haml 6
Remove use of Haml::Buffer.
2022-09-27 10:22:16 -04:00
Takashi Kokubun
78d48cdd08
Support capture and content_for with Hamlit 2019-11-28 18:31:39 -08:00
Jordan Owens
bf2cb85e86 Improve specs for yield_content with default block 2018-12-08 15:11:42 -05:00
Jordan Owens
5913bec66e Fix content_for specs 2018-12-08 14:03:42 -05:00
Jordan Owens
4396f1e6a8 Fix issue setting content_for value with method param 2018-12-08 14:03:42 -05:00
Jordan Owens
9fef844f06 Update yield_content to append default to ERB template buffer 2018-12-08 14:03:42 -05:00
yui-knk
42c20af1f0 Replace tabs with spaces 2016-04-26 19:37:32 +09:00
Ilya Shindyapin
4422a1ad7c Added the test cases for content_for?
Signed-off-by: Ilya Shindyapin <ilya@shindyapin.com>
2011-12-15 16:27:19 -05:00
Konstantin Haase
5360a0d930 add tests for calling yield_content more than once 2011-03-28 17:12:43 +02:00
Konstantin Haase
e417ccc1e7 add slim support to content_for 2011-03-28 16:57:39 +02:00
Konstantin Haase
ee59224a99 add support for erubis to content-for 2011-03-28 16:23:34 +02:00
Konstantin Haase
7e72a34a3a don't rely on template engine internals to capture a block, makes yield_content usage consistent in erb and haml, allows combining the two 2011-03-28 16:06:17 +02:00
Konstantin Haase
7fa95253e3 move content-for tests to rspec 2011-03-28 10:11:57 +02:00