aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/test/cases/validations/inclusion_validation_test.rb
Commit message (Expand)AuthorAgeFilesLines
* Use assert_predicate and assert_not_predicateDaniel Colson2018-01-251-44/+44
* Use frozen string literal in activemodel/Kir Shatrov2017-07-161-0/+2
* Revert "Merge pull request #29540 from kirs/rubocop-frozen-string"Matthew Draper2017-07-021-1/+0
* Enforce frozen string in RubocopKir Shatrov2017-07-011-0/+1
* Add three new rubocop rulesRafael Mendonça França2016-08-161-1/+1
* applies remaining conventions across the projectXavier Noria2016-08-061-1/+0
* applies new string literal convention in activemodel/testXavier Noria2016-08-061-22/+22
* Add edge cases to Time/Date/DateTime inclusion validation testsojab2016-03-241-3/+17
* remove args from assert_nothing_raised in testsTara Scherner de la Fuente2016-02-221-3/+3
* Removed magic comments # encoding: utf-8 , since its default from ruby 2.0 on...Vipul A M2015-02-031-1/+0
* Use the new clear_validators! api to reset validators in testsCarlos Antonio da Silva2014-01-271-3/+3
* Let validates_inclusion_of accept Time and DateTime rangesAkira Matsuda2013-10-231-0/+22
* Use Range#cover? for Numeric ranges (tests via endpoints) and use Range#inclu...Charles Bergeron2013-05-271-0/+1
* Convert ActiveModel to 1.9 hash syntax.Patrick Robertson2013-05-011-13/+13
* Fix method redefined warnings.kennyj2012-08-291-0/+3
* Accept a symbol for `:in` option on inclusion and exclusion validatorsGabriel Sobrinho2012-08-241-0/+22
* `validates_inclusion_of` and `validates_exclusion_of` now acceptRafael Mendonça França2012-07-201-0/+10
* Update variable's name in the test case to reflect the class we're testingPrem Sichanugrist2011-11-181-6/+6
* Follow code conventions on some testsSebastian Martinez2011-05-101-1/+1
* No need to rescue here. Invoking the wrong method in an object can happen any...José Valim2011-04-111-9/+0
* Revert "Add :use_include option to allow user to explicitly use `Range#includ...José Valim2011-04-111-9/+0
* Add :use_include option to allow user to explicitly use `Range#include?` meth...Prem Sichanugrist2011-04-101-0/+9
* Add support for proc or lambda as an option for InclusionValidator, Exclusion...Prem Sichanugrist2011-04-101-0/+21
* Change validates inclusion to use cover? for Ranges in ruby 1.9 [#6453 state:...Frederick Cheung2011-02-181-0/+9
* removed AR from all AMo tests, including any unneeded files (schema, fixtures...Josh Kalderimis2010-05-091-2/+0
* removed an old unused model in the AMo tests which also removes another AR de...Josh Kalderimis2010-05-091-1/+0
* removed use of AR in AMo tests and removed testing of scopes (:on) in individ...Josh Kalderimis2010-05-081-11/+11
* Favor %{} in all code instead of (deprecated) {{}} as interpolation syntax fo...Lawrence Pit2010-05-031-1/+1
* No need to use ValidationsRepairHelper hack on ActiveModel anymore, Model.res...José Valim2009-12-231-21/+12
* Add ActiveModel::Validations tests for regular ruby classesPratik Naik2009-03-201-0/+17
* Deprecate Error#on(attribute) in favour of Errors#[attribute]Pratik Naik2009-03-201-4/+4
* TestDatabase -> TestsDatabasePratik Naik2009-03-201-2/+2
* Move relevant validation tests from Active Record to Active ModelPratik Naik2009-03-201-0/+63