From 148aff2097890a81e874a7c60bae5fa3b2a4d1fd Mon Sep 17 00:00:00 2001 From: Joshua Peek Date: Thu, 4 Dec 2008 17:20:51 -0600 Subject: Set template_format to html inside rjs templates so renders within it default to html. --- actionpack/test/template/render_test.rb | 6 ------ 1 file changed, 6 deletions(-) (limited to 'actionpack/test/template') diff --git a/actionpack/test/template/render_test.rb b/actionpack/test/template/render_test.rb index 9e827abbca..0387a11de2 100644 --- a/actionpack/test/template/render_test.rb +++ b/actionpack/test/template/render_test.rb @@ -136,12 +136,6 @@ module RenderTestCases assert_equal "Before (Josh)\n\nAfter", @view.render(:partial => "test/layout_for_partial", :locals => { :name => "Josh" }) end - # TODO: The reason for this test is unclear, improve documentation - def test_render_js_partial_and_fallback_to_erb_layout - @view.template_format = :js - assert_equal "Before (Josh)\n\nAfter", @view.render(:partial => "test/layout_for_partial", :locals => { :name => "Josh" }) - end - # TODO: The reason for this test is unclear, improve documentation def test_render_missing_xml_partial_and_raise_missing_template @view.template_format = :xml -- cgit v1.2.3