class RenderPartialWithRecordIdentificationAndNestedControllersTest

Public Instance Methods

test_render_with_record_collection_in_nested_controller() click to toggle source
# File actionview/test/activerecord/render_partial_with_record_identification_test.rb, line 132
def test_render_with_record_collection_in_nested_controller
  get :render_with_record_collection_in_nested_controller
  assert_equal "Fun Pong\nFun Tank\n", @response.body
end
test_render_with_record_in_nested_controller() click to toggle source
# File actionview/test/activerecord/render_partial_with_record_identification_test.rb, line 127
def test_render_with_record_in_nested_controller
  get :render_with_record_in_nested_controller
  assert_equal "Fun Pong\n", @response.body
end