class ActionControllerBaseRenderTest
Public Instance Methods
test_direct_render_to_string()
click to toggle source
# File actionpack/test/controller/render_test.rb, line 610 def test_direct_render_to_string ac = ActionController::Base.new() assert_equal "Hello world!", ac.render_to_string(template: "test/hello_world") end