aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArthur Nogueira Neves <github@arthurnn.com>2017-01-13 23:25:39 -0500
committerGitHub <noreply@github.com>2017-01-13 23:25:39 -0500
commit07307a7b9d14b752fc5aef474f3c29585676c9fa (patch)
tree3930e536cf9fe9d27597c35fdcf9b65c6c748de1
parente15a23fa355ed29d70c2ec573cd7b2418f7ac8db (diff)
parentcfcc8257250649501d4ffe1a5d1a17c2b335415a (diff)
downloadrails-07307a7b9d14b752fc5aef474f3c29585676c9fa.tar.gz
rails-07307a7b9d14b752fc5aef474f3c29585676c9fa.tar.bz2
rails-07307a7b9d14b752fc5aef474f3c29585676c9fa.zip
Merge pull request #27679 from lcpriest/patch-1
Small spelling error
-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