Permalink
Browse files

Merge pull request #380 from vijaydev/master.

Fixes typos in params wrapper test
  • Loading branch information...
2 parents cb9557c + f490a81 commit d54ce7129c9a5983b5f0bfd05b35b52229211014 @josevalim josevalim committed May 3, 2011
Showing with 3 additions and 3 deletions.
  1. +3 −3 actionpack/test/controller/params_wrapper_test.rb
@@ -23,7 +23,7 @@ def teardown
UsersController.last_parameters = nil
end
- def test_derivered_name_from_controller
+ def test_derived_name_from_controller
with_default_wrapper_options do
@request.env['CONTENT_TYPE'] = 'application/json'
post :parse, { 'username' => 'sikachu' }
@@ -194,7 +194,7 @@ def teardown
Admin::UsersController.last_parameters = nil
end
- def test_derivered_name_from_controller
+ def test_derived_name_from_controller
with_default_wrapper_options do
@request.env['CONTENT_TYPE'] = 'application/json'
post :parse, { 'username' => 'sikachu' }
@@ -215,7 +215,7 @@ def test_namespace_lookup_from_model
end
end
- def test_heirarchy_namespace_lookup_from_model
+ def test_hierarchy_namespace_lookup_from_model
# Make sure that we cleanup ::Admin::User
admin_user_constant = ::Admin::User
::Admin.send :remove_const, :User

0 comments on commit d54ce71

Please sign in to comment.