aboutsummaryrefslogtreecommitdiffstats
path: root/actionview
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2015-10-05 17:33:59 -0700
committerAaron Patterson <aaron.patterson@gmail.com>2015-10-05 17:33:59 -0700
commit4ddbd437c603baa6b0b8aa99b93d7b6e5d51ac3d (patch)
tree99dd70e935f79a6b2d84958418996f10a9acafbb /actionview
parent69009f4473637a44ade26d954ef5ddea6ff903f2 (diff)
downloadrails-4ddbd437c603baa6b0b8aa99b93d7b6e5d51ac3d.tar.gz
rails-4ddbd437c603baa6b0b8aa99b93d7b6e5d51ac3d.tar.bz2
rails-4ddbd437c603baa6b0b8aa99b93d7b6e5d51ac3d.zip
render should return a string
Diffstat (limited to 'actionview')
-rw-r--r--actionview/test/actionpack/controller/render_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionview/test/actionpack/controller/render_test.rb b/actionview/test/actionpack/controller/render_test.rb
index 27150c7d5f..9409775fef 100644
--- a/actionview/test/actionpack/controller/render_test.rb
+++ b/actionview/test/actionpack/controller/render_test.rb
@@ -728,7 +728,7 @@ class RenderTest < ActionController::TestCase
def test_render_process
get :render_action_hello_world_as_string
- assert_equal ["Hello world!"], @controller.process(:render_action_hello_world_as_string)
+ assert_equal "Hello world!", @controller.process(:render_action_hello_world_as_string)
end
# :ported: