Skip to content

Commit ecf6dc3

Browse files
committed
Fix test name typo prescence -> presence
1 parent 6fb3163 commit ecf6dc3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

activerecord/test/cases/validations/presence_validation_test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ def test_validations_run_on_persisted_record
9292
end
9393
end
9494

95-
def test_validates_prescence_with_on_context
95+
def test_validates_presence_with_on_context
9696
repair_validations(Interest) do
9797
Interest.validates_presence_of(:topic, on: :required_name)
9898
interest = Interest.new

0 commit comments

Comments
 (0)