Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes typos in params wrapper test #380

Merged
merged 1 commit into from
May 3, 2011
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 3 additions & 3 deletions actionpack/test/controller/params_wrapper_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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' }
Expand Down Expand Up @@ -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' }
Expand All @@ -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
Expand Down