aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/test/cases/validations/acceptance_validation_test.rb
Commit message (Collapse)AuthorAgeFilesLines
* applies new string literal convention in activemodel/testXavier Noria2016-08-061-4/+4
| | | | | The current code base is not uniform. After some discussion, we have chosen to go with double quotes by default.
* Improve Validation Helpers' documentation comments and testsRadan Skoric2015-06-271-0/+14
|
* Removed magic comments # encoding: utf-8 , since its default from ruby 2.0 ↵Vipul A M2015-02-031-1/+0
| | | | onwards.
* allow '1' or true for acceptance validation.mo khan2015-01-101-0/+6
|
* use the new clear_validators! api everywhere to reset validators in testsKuldeep Aggarwal2014-01-281-1/+1
|
* Use the new clear_validators! api to reset validators in testsCarlos Antonio da Silva2014-01-271-1/+1
|
* Convert ActiveModel to 1.9 hash syntax.Patrick Robertson2013-05-011-2/+2
| | | | | I also attempted to fix other styleguide violations such as { a: :b } over {a: :b} and foo(b: 'bar') over foo( b: 'bar' ).
* removed AR from all AMo tests, including any unneeded files (schema, ↵Josh Kalderimis2010-05-091-2/+0
| | | | fixtures and test helper)
* removed an old unused model in the AMo tests which also removes another AR ↵Josh Kalderimis2010-05-091-1/+0
| | | | dependency
* removed use of AR in AMo tests and removed testing of scopes (:on) in ↵Josh Kalderimis2010-05-081-15/+15
| | | | individual validation tests and moved them to their own test file
* No need to use ValidationsRepairHelper hack on ActiveModel anymore, ↵José Valim2009-12-231-21/+12
| | | | Model.reset_callbacks(:validate) is enough. However, tests in ActiveRecord are still coupled, so moved ValidationsRepairHelper back there.
* Add ActiveModel::Validations tests for regular ruby classesPratik Naik2009-03-201-9/+16
|
* TestDatabase -> TestsDatabasePratik Naik2009-03-201-2/+2
|
* Move relevant validation tests from Active Record to Active ModelPratik Naik2009-03-201-0/+73