mirror of
https://github.com/github/rails.git
synced 2026-01-30 08:48:06 -05:00
no more render_to_string deprecation warnings
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4970 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
@@ -214,7 +214,7 @@ class RenderTest < Test::Unit::TestCase
|
||||
end
|
||||
|
||||
def test_render_to_string
|
||||
assert_deprecated_render { get :hello_in_a_string }
|
||||
assert_not_deprecated { get :hello_in_a_string }
|
||||
assert_equal "How's there? goodbyeHello: davidHello: marygoodbye\n", @response.body
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user