Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Changeset 5044

Show
Ignore:
Timestamp:
09/06/06 03:51:45 (2 years ago)
Author:
rick
Message:

added passing test for using partials with an xml builder

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/actionpack/test/controller/render_test.rb

    r5043 r5044  
    5959  def builder_layout_test 
    6060    render_action "hello" 
     61  end 
     62 
     63  def builder_partial_test 
     64    render_action "hello_world_container" 
    6165  end 
    6266 
     
    194198  end 
    195199 
     200  def test_render_xml_with_partial 
     201    get :builder_partial_test 
     202    assert_equal "<test>\n  <hello/>\n</test>\n", @response.body 
     203  end 
     204 
    196205  def test_layout_rendering 
    197206    get :layout_test