aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/test
Commit message (Expand)AuthorAgeFilesLines
* Pass through the `prepend` option to `AS::Callback`Godfrey Chan2014-12-121-1/+37
* Pass symbol as an argument instead of a blockErik Michaels-Ober2014-11-292-3/+3
* Remove redundant require of fileAdam892014-11-011-1/+0
* Add #key? to ActiveModel::ErrorsGarry Shutler2014-10-141-0/+11
* Added test for exception message for validate methodPrathamesh Sonpatki2014-09-231-1/+3
* Default to sorting user's test cases for nowGodfrey Chan2014-09-081-1/+1
* Leave all our tests as order_dependent! for nowMatthew Draper2014-09-021-0/+5
* Move model definition to test/models for test order indenendencyAkira Matsuda2014-08-283-29/+15
* [ci skip] make assert messages consistentankit19102014-08-251-2/+2
* AM, AP, AV, and AMo tests are already order_independent!Akira Matsuda2014-08-131-5/+0
* Nobody sucks so nobody should call this awful method nameRafael Mendonça França2014-08-121-1/+1
* users_dont_suck_but_only_we_suck_and_only_our_tests_are_order_dependent!Akira Matsuda2014-08-121-0/+5
* Allow password to contain spaces only.Yevhene Shemet2014-08-061-0/+10
* Merge pull request #15959 from aditya-kapoor/remove-unneeded-casesRafael Mendonça França2014-07-292-26/+17
|\
| * remove unneeded test model for ActiveModel test cases.Aditya Kapoor2014-06-282-26/+17
* | Merge branch 'rm-remove-mocha'Rafael Mendonça França2014-07-191-0/+2
|\ \
| * | Stop requiring mocha automaticallyRafael Mendonça França2014-07-191-0/+2
* | | Merge pull request #16210 from sonnym/assert_valid_keys_in_validateMatthew Draper2014-07-181-0/+7
|\ \ \
| * | | check for valid options in validate methodsonnym2014-07-171-0/+6
|/ / /
* | | Make restore_attributes publicRafael Mendonça França2014-07-171-5/+15
* | | Deprecate `reset_#{attribute}` in favor of `restore_#{attribute}`.Rafael Mendonça França2014-07-151-3/+3
* | | Deprecate ActiveModel::Dirty#reset_changes in favor of #clear_changes_informa...Rafael Mendonça França2014-07-151-0/+21
|/ /
* | Only automatically include validations when enabledGodfrey Chan2014-07-021-11/+3
* | automatically include ActiveModel::Validations when include ActiveModel::Secu...Aditya Kapoor2014-07-033-2/+5
* | Rename rollback_changes to undo_changesRafael Mendonça França2014-06-301-2/+2
* | Merge pull request #14861 from igor04/dirty-rollbackRafael Mendonça França2014-06-301-0/+18
|\ \ | |/ |/|
| * Added rollback method to ActiveModel::Dirtyigor042014-06-231-0/+18
* | Merge pull request #15834 from rmehner/allow_proc_and_symbol_for_only_integerRafael Mendonça França2014-06-261-0/+15
|\ \
| * | `only_integer` of `NumericalityValidator` now allows procs and symbolsRobin Mehner2014-06-221-0/+15
* | | 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-262-2/+4
* 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