Fixed few typos

This commit is contained in:
Prathamesh Sonpatki
2013-03-26 20:29:35 +05:30
parent afed6dcd4a
commit 75a72b5cc9
4 changed files with 5 additions and 5 deletions

View File

@@ -376,7 +376,7 @@ class ResponderTest < ActionController::TestCase
assert_equal '{"awesome":[]}', @response.body
end
def test_render_json_empty_arry_with_array_serializer_root_false
def test_render_json_empty_array_with_array_serializer_root_false
ActiveModel::ArraySerializer.root = false
get :render_json_empty_array
assert_equal '[]', @response.body

View File

@@ -379,7 +379,7 @@ class RenderJsonTest < ActionController::TestCase
assert_equal '{"awesome":[]}', @response.body
end
def test_render_json_empty_arry_with_array_serializer_root_false
def test_render_json_empty_array_with_array_serializer_root_false
ActiveModel::ArraySerializer.root = false
get :render_json_empty_array
assert_equal '[]', @response.body