aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/test/cases/validations/presence_validation_test.rb
Commit message (Collapse)AuthorAgeFilesLines
* No need to use ValidationsRepairHelper hack on ActiveModel anymore, ↵José Valim2009-12-231-28/+26
| | | | Model.reset_callbacks(:validate) is enough. However, tests in ActiveRecord are still coupled, so moved ValidationsRepairHelper back there.
* Fix failing AMo isolated testsJoshua Peek2009-09-051-0/+1
|
* Allow validations to use values from custom readers [#2936 state:resolved]James Hill2009-08-051-0/+14
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Simplify AMo validation attribute readerJoshua Peek2009-06-171-9/+9
|
* Add ActiveModel::Validations tests for regular ruby classesPratik Naik2009-03-201-0/+16
|
* TestDatabase -> TestsDatabasePratik Naik2009-03-201-2/+2
|
* Move relevant validation tests from Active Record to Active ModelPratik Naik2009-03-201-0/+41