diff options
Diffstat (limited to 'actionpack/test/controller')
-rw-r--r-- | actionpack/test/controller/api/renderers_test.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/actionpack/test/controller/api/renderers_test.rb b/actionpack/test/controller/api/renderers_test.rb index a1307d6f82..911a8144b2 100644 --- a/actionpack/test/controller/api/renderers_test.rb +++ b/actionpack/test/controller/api/renderers_test.rb @@ -51,7 +51,9 @@ class RenderersApiTest < ActionController::TestCase end def test_render_text - get :text + assert_deprecated do + get :text + end assert_response :internal_server_error assert_equal('Hi from text', @response.body) end |