diff options
author | José Valim <jose.valim@gmail.com> | 2010-04-24 11:48:47 +0200 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2010-04-24 11:48:47 +0200 |
commit | aaaa1782b44c620cecb97238534a2bd2be5d365a (patch) | |
tree | 1cfda544c4d1546c44f60e0dfb5226f79d5c16a3 /actionpack/test/controller | |
parent | 19cecc907f2c97458519f103cbb967cf8dda5716 (diff) | |
download | rails-aaaa1782b44c620cecb97238534a2bd2be5d365a.tar.gz rails-aaaa1782b44c620cecb97238534a2bd2be5d365a.tar.bz2 rails-aaaa1782b44c620cecb97238534a2bd2be5d365a.zip |
Fix render :xml test (ht Simo Niemelä)
Diffstat (limited to 'actionpack/test/controller')
-rw-r--r-- | actionpack/test/controller/render_xml_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/test/controller/render_xml_test.rb b/actionpack/test/controller/render_xml_test.rb index 518842c34c..4bf867fa41 100644 --- a/actionpack/test/controller/render_xml_test.rb +++ b/actionpack/test/controller/render_xml_test.rb @@ -64,8 +64,8 @@ class RenderXmlTest < ActionController::TestCase end def test_rendering_xml_should_call_to_xml_with_extra_options - get :render_with_to_xml - assert_equal "<i-am-xml/>", @response.body + get :render_xml_with_custom_options + assert_equal "<i-am-THE-xml/>", @response.body end def test_rendering_with_object_location_should_set_header_with_url_for |