Fix test name typo prescence -> presence
This commit is contained in:
parent
6fb31638c8
commit
ecf6dc3dfb
@ -92,7 +92,7 @@ def test_validations_run_on_persisted_record
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user