aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/test/cases
Commit message (Expand)AuthorAgeFilesLines
...
* | | Merge pull request #15871 from yuki24/add-model-name-instance-methodDavid Heinemeier Hansson2014-06-241-0/+6
|\ \ \
| * | | Delegate #model_name method to self.classYuki Nishijima2014-06-221-0/+6
| |/ /
* / / remove unnecessary require for json serialization test casesAditya Kapoor2014-06-241-1/+0
|/ /
* | Correct typo, add test for validates_absence_of, correct method namesAkshay Vishnoi2014-06-161-3/+4
* | Use `@existing_user` while updating existing user, fixing - #ee4e86Akshay Vishnoi2014-06-141-6/+6
* | Cleaned up the `has_secure_password` test casesGodfrey Chan2014-06-141-33/+29
* | SecurePassword - Validate password must be less than or equal to 72Akshay Vishnoi2014-06-141-0/+28
* | [ci skip] add tests for ActionModel::ConversionAditya Kapoor2014-06-111-0/+4
* | remove depricated Validatior#setupKuldeep Aggarwal2014-06-101-21/+0
* | Add singular and plural form for some validation messagesAbd ar-Rahman Hamidi2014-05-021-3/+15
|/
* Fix warning for overshadowing XML variableMusannif Zahir2014-03-281-2/+2
* ActiveRecord/ActiveModel '#validate' alias for 'valid?'Henrik Nyh2014-03-271-0/+9
* comment why we are modifying global state. [ci skip]Yves Senn2014-03-111-0/+1
* Completely remove potential global state leaks in ActiveModel tests.Zuhao Wan2014-03-117-110/+136
* Merge pull request #14315 from zuhao/activemodel_tests_in_random_orderYves Senn2014-03-094-13/+39
|\
| * Run ActiveModel test suites in random order.Zuhao Wan2014-03-104-13/+39
* | Tests for indifferent access using full_messages_for. Closes #11916Pavel Penkov2014-03-081-0/+7
|/
* Fix some validators when used on model instanceEric Hutzelman2014-02-261-1/+2
* 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-242-239/+121
* Rewrote the tests for has_secure_passwordGodfrey Chan2014-01-241-0/+181
* 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
|/
* 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-231-0/+22
* | 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