aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/test/cases/validations
diff options
context:
space:
mode:
authoralkesh26 <alkesh26@gmail.com>2019-01-31 02:43:44 +0530
committeralkesh26 <alkesh26@gmail.com>2019-01-31 02:43:44 +0530
commit8b66ea5d2cf754b0b2ad26db3ccfbbb0b7e4da85 (patch)
treef1802b9f97b2e38d38d914f9f16c15e22d20be56 /activemodel/test/cases/validations
parent9bb07b79e4bd855f24c098ba636dae15340e03ed (diff)
downloadrails-8b66ea5d2cf754b0b2ad26db3ccfbbb0b7e4da85.tar.gz
rails-8b66ea5d2cf754b0b2ad26db3ccfbbb0b7e4da85.tar.bz2
rails-8b66ea5d2cf754b0b2ad26db3ccfbbb0b7e4da85.zip
activemodel typo fixes.
Diffstat (limited to 'activemodel/test/cases/validations')
-rw-r--r--activemodel/test/cases/validations/numericality_validation_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activemodel/test/cases/validations/numericality_validation_test.rb b/activemodel/test/cases/validations/numericality_validation_test.rb
index fcdf123062..16c44762cb 100644
--- a/activemodel/test/cases/validations/numericality_validation_test.rb
+++ b/activemodel/test/cases/validations/numericality_validation_test.rb
@@ -281,7 +281,7 @@ class NumericalityValidationTest < ActiveModel::TestCase
assert_predicate topic, :invalid?
end
- def test_validates_numericalty_with_object_acting_as_numeric
+ def test_validates_numericality_with_object_acting_as_numeric
klass = Class.new do
def to_f
123.54