Permalink
Browse files

Fix test name typo prescence -> presence

  • Loading branch information...
eileencodes committed Feb 27, 2016
1 parent 6fb3163 commit ecf6dc3dfbc0cdf1b0a86f48e030debd0f917cb6
Showing with 1 addition and 1 deletion.
  1. +1 −1 activerecord/test/cases/validations/presence_validation_test.rb
@@ -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

0 comments on commit ecf6dc3

Please sign in to comment.