diff options
author | Arthur Nogueira Neves <github@arthurnn.com> | 2017-01-31 14:57:17 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-31 14:57:17 -0500 |
commit | aa86cb62aee4d73a9cad8fcbcc96c7b6baab18ba (patch) | |
tree | 45dbdb8156b46363260369f9318cf7dfa8942d92 /actionview | |
parent | 1e1866948e6d15c84f4fc5912eb326607b82a3fb (diff) | |
parent | c32d715a3311943810d271163ff9bf10206687f3 (diff) | |
download | rails-aa86cb62aee4d73a9cad8fcbcc96c7b6baab18ba.tar.gz rails-aa86cb62aee4d73a9cad8fcbcc96c7b6baab18ba.tar.bz2 rails-aa86cb62aee4d73a9cad8fcbcc96c7b6baab18ba.zip |
Merge pull request #27758 from kenta-s/neglected-todo-in-render_test
Get neglected TODO done in render_test
Diffstat (limited to 'actionview')
-rw-r--r-- | actionview/test/template/render_test.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/actionview/test/template/render_test.rb b/actionview/test/template/render_test.rb index d189b2aa87..7c5a53b98b 100644 --- a/actionview/test/template/render_test.rb +++ b/actionview/test/template/render_test.rb @@ -393,8 +393,7 @@ module RenderTestCases assert_equal :partial_name_local_variable, exception.cause.name end - # TODO: The reason for this test is unclear, improve documentation - def test_render_partial_and_fallback_to_layout + def test_render_partial_with_no_block_given_to_yield assert_equal "Before (Josh)\n\nAfter", @view.render(partial: "test/layout_for_partial", locals: { name: "Josh" }) end |