aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/test
Commit message (Expand)AuthorAgeFilesLines
* add test coverage for activemodel Dirty#reset_changesDmitry Polushkin2014-02-091-0/+19
* `#to_param` returns `nil` if `to_key` returns `nil`. Closes #11399.Yves Senn2014-02-041-0/+10
* 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-2716-42/+33
* Merge tests about multiple validation contextsCarlos Antonio da Silva2014-01-271-10/+6
* Ability to specify multiple contexts when defining a validation.Vince Puzzella2014-01-271-0/+16
* Some minor fixesGodfrey Chan2014-01-241-1/+0
* Removed old testsGodfrey Chan2014-01-243-250/+121
* Rewrote the tests for has_secure_passwordGodfrey Chan2014-01-243-2/+183
* Update ActiveModel::Errors.has_key? testAdrien Coquio2014-01-221-1/+1
* Add failing test for ActiveModel::Errors#has_key? methodAdrien Coquio2014-01-221-0/+5
* Fix typoRafael Mendonça França2014-01-211-1/+1
* When applying changes or reseting changes create the right classRafael Mendonça França2014-01-201-0/+8
* Change all "can not"s to the correct "cannot".T.J. Schuck2014-01-031-33/+33
* Merge pull request #13131 from gja/changed-accepts-valuesGodfrey Chan2013-12-301-0/+10
|\
| * Allows you to check if an attribute has changed to a particular valueTejas Dinkar2013-12-151-0/+10
* | Disable locale checks to avoid warnings in Active Model tests [ci skip]Carlos Antonio da Silva2013-12-231-0/+3
* | Unused classes in AMo testsAkira Matsuda2013-12-191-11/+0
|/
* Merge pull request #13273 from robertomiranda/test-remove-requireGuillermo Iguaran2013-12-111-1/+0
|\
| * Remove require 'models/administrator', Administrator is not used in secure pa...robertomiranda2013-12-111-1/+0
* | Let validates_inclusion_of accept Time and DateTime rangesAkira Matsuda2013-10-232-1/+23
* | Use bcrypt's public cost attr, not internal constantT.J. Schuck2013-10-101-0/+8
* | Merge pull request #8791 from griffinmyers/masterRafael Mendonça França2013-10-031-1/+16
|\ \
| * | DirtyModel uses a hash to keep track of any changes made to attributesWilliam Myers2013-05-271-1/+16
* | | Merge pull request #10816 from bogdan/less-dirty-dirtyRafael Mendonça França2013-09-231-2/+1
* | | use assert_empty in activemodel conditional validation test casesRajarshi Das2013-09-101-7/+7
* | | fix actionview and activemodel test cases typosRajarshi Das2013-09-051-1/+1
* | | remove unused instance variableRajarshi Das2013-08-231-2/+1
* | | Dont' check for any order in hash since we aren't sorting it and this is dete...Guillermo Iguaran2013-08-181-11/+0
* | | Refactor serialization test for hash orderGuillermo Iguaran2013-08-181-7/+6
* | | Avoid Skip in test, have a unified test for orderGaurish Sharma2013-08-091-10/+7
* | | Add tests for ActiveModel::Serializers::JSON#as_json orderingGaurish Sharma2013-08-091-1/+10
| |/ |/|
* | fix testsMax Shytikov2013-07-301-1/+1
* | Fix secure_password password_confirmation validationsVladimir Kiselev2013-07-241-0/+5
* | Remove redundant escapes from xml serialization testVipul A M2013-07-011-6/+6
* | Remove deprecation warning from AttributeMethodsMatcherPaul Nikitochkin2013-06-281-11/+0
* | Remove deprecated attr_protected/accessibleŁukasz Strzałkowski2013-06-271-16/+0
* | Merge pull request #10774 from chuckbergeron/validates-inclusion-of-accuracy-...Carlos Antonio da Silva2013-06-251-0/+1
|\ \
| * | Use Range#cover? for Numeric ranges (tests via endpoints) and use Range#inclu...Charles Bergeron2013-05-271-0/+1
* | | ActiveModel::Model inclusion chain backward compatibilityFred Wu2013-06-201-5/+15
* | | Fixes AciveModel::Model with no ancestors, fixes #11004Fred Wu2013-06-191-2/+23
* | | Fixed ActiveModel::Model's inclusion chainFred Wu2013-06-191-0/+12
* | | Stub logger for testsAndrey Koleshko2013-06-061-0/+4
* | | Fix regression in has_secure_password.Phil Calvin2013-05-301-0/+9
|/ /
* | deprecate Validator#setup (to get rid of a respond_to call). validators do th...Nick Sutterer2013-05-232-23/+22
* | Merge pull request #10527 from zenspider/squishy_minitest5Aaron Patterson2013-05-161-1/+0
|\ \
| * | Updates to make rails 4 happy with minitest 5:Ryan Davis2013-05-061-1/+0
* | | callbacks are wrapped with lambdasAaron Patterson2013-05-101-1/+1
|/ /
* | Convert ActiveModel to 1.9 hash syntax.Patrick Robertson2013-05-0125-309/+311
* | Merge pull request #10286 from neerajdotname/fix-wrong-test-name-and-failure-...Carlos Antonio da Silva2013-04-211-2/+2
|\ \