aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/dispatch
diff options
context:
space:
mode:
authorLachlan Priest <lachlanpriest@gmail.com>2017-01-14 11:33:59 +0800
committerGitHub <noreply@github.com>2017-01-14 11:33:59 +0800
commitcfcc8257250649501d4ffe1a5d1a17c2b335415a (patch)
tree3930e536cf9fe9d27597c35fdcf9b65c6c748de1 /actionpack/test/dispatch
parente15a23fa355ed29d70c2ec573cd7b2418f7ac8db (diff)
downloadrails-cfcc8257250649501d4ffe1a5d1a17c2b335415a.tar.gz
rails-cfcc8257250649501d4ffe1a5d1a17c2b335415a.tar.bz2
rails-cfcc8257250649501d4ffe1a5d1a17c2b335415a.zip
Small spelling error
existing_acrnoyms -> existing_acronyms
Diffstat (limited to 'actionpack/test/dispatch')
-rw-r--r--actionpack/test/dispatch/request_test.rb8
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