From ecf6dc3dfbc0cdf1b0a86f48e030debd0f917cb6 Mon Sep 17 00:00:00 2001 From: eileencodes Date: Sat, 27 Feb 2016 11:20:03 -0500 Subject: Fix test name typo prescence -> presence --- activerecord/test/cases/validations/presence_validation_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'activerecord/test/cases/validations') 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 -- cgit v1.2.3