aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/validations
diff options
context:
space:
mode:
Diffstat (limited to 'activerecord/test/cases/validations')
-rw-r--r--activerecord/test/cases/validations/presence_validation_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/cases/validations/presence_validation_test.rb b/activerecord/test/cases/validations/presence_validation_test.rb
index 2ae30c7fd3..868d111b8c 100644
--- a/activerecord/test/cases/validations/presence_validation_test.rb
+++ b/activerecord/test/cases/validations/presence_validation_test.rb
@@ -92,7 +92,7 @@ class PresenceValidationTest < ActiveRecord::TestCase
end
end
- def test_validates_prescence_with_on_context
+ def test_validates_presence_with_on_context
repair_validations(Interest) do
Interest.validates_presence_of(:topic, on: :required_name)
interest = Interest.new