diff options
author | Ian Fleeton <ianfleeton@gmail.com> | 2016-02-21 21:00:49 +0000 |
---|---|---|
committer | Ian Fleeton <ianfleeton@gmail.com> | 2016-02-21 21:00:49 +0000 |
commit | e3cfbca3b2cfef8a717f035eef621dfdb3f52276 (patch) | |
tree | 274d5fb5a21eb9dd5d6c857244d973afd4a21770 /activerecord | |
parent | 1add44d5dc6e14e63eade32391d1d5395c3bc865 (diff) | |
download | rails-e3cfbca3b2cfef8a717f035eef621dfdb3f52276.tar.gz rails-e3cfbca3b2cfef8a717f035eef621dfdb3f52276.tar.bz2 rails-e3cfbca3b2cfef8a717f035eef621dfdb3f52276.zip |
Match test name to test (typo)
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/test/cases/validations/length_validation_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/cases/validations/length_validation_test.rb b/activerecord/test/cases/validations/length_validation_test.rb index 624aeaaddb..4b6470393e 100644 --- a/activerecord/test/cases/validations/length_validation_test.rb +++ b/activerecord/test/cases/validations/length_validation_test.rb @@ -75,7 +75,7 @@ class LengthValidationTest < ActiveRecord::TestCase assert pet.valid? end - def test_validates_presence_of_virtual_attribute_on_model + def test_validates_length_of_virtual_attribute_on_model repair_validations(Pet) do Pet.send(:attr_accessor, :nickname) Pet.validates_length_of(:name, minimum: 1) |