diff options
author | Lachlan Priest <lachlanpriest@gmail.com> | 2017-01-14 11:33:59 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-14 11:33:59 +0800 |
commit | cfcc8257250649501d4ffe1a5d1a17c2b335415a (patch) | |
tree | 3930e536cf9fe9d27597c35fdcf9b65c6c748de1 /actionpack | |
parent | e15a23fa355ed29d70c2ec573cd7b2418f7ac8db (diff) | |
download | rails-cfcc8257250649501d4ffe1a5d1a17c2b335415a.tar.gz rails-cfcc8257250649501d4ffe1a5d1a17c2b335415a.tar.bz2 rails-cfcc8257250649501d4ffe1a5d1a17c2b335415a.zip |
Small spelling error
existing_acrnoyms -> existing_acronyms
Diffstat (limited to 'actionpack')
-rw-r--r-- | actionpack/test/dispatch/request_test.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/actionpack/test/dispatch/request_test.rb b/actionpack/test/dispatch/request_test.rb index e11b93b4f0..2f9228a62d 100644 --- a/actionpack/test/dispatch/request_test.rb +++ b/actionpack/test/dispatch/request_test.rb @@ -760,8 +760,8 @@ class RequestMethod < BaseRequestTest end test "post uneffected by local inflections" do - existing_acrnoyms = ActiveSupport::Inflector.inflections.acronyms.dup - existing_acrnoym_regex = ActiveSupport::Inflector.inflections.acronym_regex.dup + existing_acronyms = ActiveSupport::Inflector.inflections.acronyms.dup + existing_acronym_regex = ActiveSupport::Inflector.inflections.acronym_regex.dup begin ActiveSupport::Inflector.inflections do |inflect| inflect.acronym "POS" @@ -774,8 +774,8 @@ class RequestMethod < BaseRequestTest ensure # Reset original acronym set ActiveSupport::Inflector.inflections do |inflect| - inflect.send(:instance_variable_set, "@acronyms", existing_acrnoyms) - inflect.send(:instance_variable_set, "@acronym_regex", existing_acrnoym_regex) + inflect.send(:instance_variable_set, "@acronyms", existing_acronyms) + inflect.send(:instance_variable_set, "@acronym_regex", existing_acronym_regex) end end end |