diff options
author | Simon Jefford <simon.jefford@gmail.com> | 2010-05-16 01:22:30 +0100 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2010-05-16 15:05:07 +0200 |
commit | f58bdae1f716c71202546c5a40a951b5fc54a591 (patch) | |
tree | 2137defacc529f1f35c6eb85967e8ec83a6cb5c9 /actionpack/test/controller | |
parent | 4ea48f2a9880508a4967be011345fc05570f44c4 (diff) | |
download | rails-f58bdae1f716c71202546c5a40a951b5fc54a591.tar.gz rails-f58bdae1f716c71202546c5a40a951b5fc54a591.tar.bz2 rails-f58bdae1f716c71202546c5a40a951b5fc54a591.zip |
Check blocks are not incorrectly detected when compiling erubis templates [#4575 state:resolved]
Signed-off-by: José Valim <jose.valim@gmail.com>
Diffstat (limited to 'actionpack/test/controller')
-rw-r--r-- | actionpack/test/controller/capture_test.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/actionpack/test/controller/capture_test.rb b/actionpack/test/controller/capture_test.rb index 06a5af6b32..d1dbd535c4 100644 --- a/actionpack/test/controller/capture_test.rb +++ b/actionpack/test/controller/capture_test.rb @@ -61,6 +61,11 @@ class CaptureTest < ActionController::TestCase assert_equal expected_content_for_output, @response.body end + def test_proper_block_detection + @todo = "some todo" + get :proper_block_detection + end + private def expected_content_for_output "<title>Putting stuff in the title!</title>\n\nGreat stuff!" |