aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test/core_ext/string_ext_test.rb
diff options
context:
space:
mode:
authorPierre Hedkvist <pierre.hedkvist@gmail.com>2017-11-01 10:27:29 +0000
committerPierre Hedkvist <pierre.hedkvist@gmail.com>2017-11-01 10:27:29 +0000
commit1ede34697539d5094090c7c8e3ab95359f706904 (patch)
tree9b815874d4a30995cf2844b83373d2ae7a9b2b8d /activesupport/test/core_ext/string_ext_test.rb
parent0931e17ebf621e5518bc0546ea13268420f989ee (diff)
downloadrails-1ede34697539d5094090c7c8e3ab95359f706904.tar.gz
rails-1ede34697539d5094090c7c8e3ab95359f706904.tar.bz2
rails-1ede34697539d5094090c7c8e3ab95359f706904.zip
Fixed typo in test for activesupport parameterize
Diffstat (limited to 'activesupport/test/core_ext/string_ext_test.rb')
-rw-r--r--activesupport/test/core_ext/string_ext_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/test/core_ext/string_ext_test.rb b/activesupport/test/core_ext/string_ext_test.rb
index 9fd6d8ac0f..5c5abe9fd1 100644
--- a/activesupport/test/core_ext/string_ext_test.rb
+++ b/activesupport/test/core_ext/string_ext_test.rb
@@ -197,7 +197,7 @@ class StringInflectionsTest < ActiveSupport::TestCase
end
def test_string_parameterized_underscore_preserve_case
- StringToParameterizePreserceCaseWithUnderscore.each do |normal, slugged|
+ StringToParameterizePreserveCaseWithUnderscore.each do |normal, slugged|
assert_equal(slugged, normal.parameterize(separator: "_", preserve_case: true))
end
end