aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/test/cases
Commit message (Expand)AuthorAgeFilesLines
* Use Range#cover? for Numeric ranges (tests via endpoints) and use Range#inclu...Charles Bergeron2013-05-271-0/+1
* 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-0122-303/+305
* Merge pull request #10286 from neerajdotname/fix-wrong-test-name-and-failure-...Carlos Antonio da Silva2013-04-211-2/+2
|\
| * fix wrong test description and failure messageNeeraj Singh2013-04-211-2/+2
* | Added tests for if condition in Active Model callbacksNeeraj Singh2013-04-211-0/+21
|/
* Removed unused setupAnupam Choudhury2013-04-091-4/+0
* Review some tests from AMo::Errors to remove "should" usageCarlos Antonio da Silva2013-03-301-55/+35
* Merge pull request #8527 from shockone/patch-1Rafael Mendonça França2013-03-251-0/+20
|\
| * Add a method full_messages_for to the Errors classshock_one2013-03-241-0/+20
* | Add Error#full_message test; Fix typosVipul A M2013-03-221-0/+1
|/
* fix some typos found in activemodelVipul A M2013-03-183-4/+4
* Small typos here and there.Vipul A M2013-03-153-4/+4
* `has_secure_password` is not invalid when assigning empty Strings.Yves Senn2013-03-041-0/+6
* `validates_confirmation_of` does not override writer methods.Yves Senn2013-03-041-0/+31
* added more accurate test for add_on_emptyAngelo capilleri2013-02-191-0/+7
* Take care of whitespaces and changing the hash syntaxRafael Mendonça França2013-02-041-57/+56
* test for issue 8931David2013-02-021-0/+8
* Adding the route_key and param_key testsAttila Domokos2013-01-221-0/+8
* Merge pull request #8940 from adomokos/adding_tests_for_changed_attributesCarlos Antonio da Silva2013-01-151-1/+12
|\
| * Cleaning up ActiveModel::Dirty testsAttila Domokos2013-01-151-1/+12
* | test for ActiveModel::Conversion#to_partial_path and namespaced modelsYves Senn2013-01-141-0/+4
|/
* Adding tests for ActiveModel::ModelAttila Domokos2013-01-121-0/+6
* Covering untested methods for ActiveModel::ErrorsAttila Domokos2013-01-101-0/+53
* Add active_support/testing/autorunRafael Mendonça França2012-12-311-1/+1
* Add CHANGELOG entry for #8622Rafael Mendonça França2012-12-261-2/+2
* Revert the change at ActiveModel::Errors#add_on_blank and fix in theRafael Mendonça França2012-12-261-5/+5
* Tests and fix for validates_presence of :allow_nil, :allow_blankColin Kelley2012-12-261-0/+34
* chmod -x from non-script filesAkira Matsuda2012-12-241-0/+0
* Add `ActiveModel::Validations::AbsenceValidator`, a validator to check the a...Roberto Vasquez Angel2012-12-151-0/+67
* Actually test that ActiveModel::Errors#add defaults to :invalid.Renato Mascarenhas2012-12-011-1/+1
* Call `full_messages` instead of `to_a` in its spec.Renato Mascarenhas2012-12-011-2/+1
* Reset attributes should not report changes.Renato Mascarenhas2012-12-011-2/+1
* Simplify keys order test for as_json in Active ModelCarlos Antonio da Silva2012-11-301-4/+1
* Remove observers and sweepersRafael Mendonça França2012-11-282-401/+0
* Specify type of singular association during serializationSteve Klabnik2012-11-281-2/+10
* Merge pull request #7282 from xHire/validates_length_of_fixRafael Mendonça França2012-11-261-0/+39
|\
| * Length validation handles correctly nil. Fix #7180Michal Zima2012-11-261-0/+39
* | Merge pull request #8320 from senny/active_model_log_folderCarlos Antonio da Silva2012-11-261-0/+1
|\ \
| * | log output from activemodel's railtie_test directly to STDOUTYves Senn2012-11-261-0/+1
| |/
* / Require active_model/railtie directly instead of rails/allCarlos Antonio da Silva2012-11-261-3/+3
|/
* Use secure password min cost option in its own tests for a speed upCarlos Antonio da Silva2012-11-211-2/+10
* Use BCrypt's MIN_COST in the test environment for speedier testsTrevor Turk2012-11-142-1/+40
* use Array() instead flattenVasiliy Ermolovich2012-11-052-21/+39
* Raise ArgumentError when no attribute is given to AMo::EachValidatorCarlos Antonio da Silva2012-11-041-1/+1
* Merge branch 'master' of github.com:lifo/docrailsVijay Dev2012-11-032-13/+13
|\
| * convert comments to 1.9 hash syntaxAvnerCohen2012-10-222-13/+13