aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/test/cases/errors_test.rb
Commit message (Expand)AuthorAgeFilesLines
* Fix ActiveModel::Errors #keys, #valuesbogdanvlviv2017-03-281-0/+16
* Missing require for strip_heredocAkira Matsuda2017-01-171-0/+1
* Missing require "yaml"Akira Matsuda2016-12-121-0/+1
* Make ActiveModel::Errors backward compatible with 4.2Rafael Mendonça França2016-12-081-0/+20
* Allow indifferent access in ActiveModel::ErrorsKenichi Kamiya2016-11-221-3/+8
* Removed deprecated methods in ActiveModel::ErrorsRafael Mendonça França2016-10-101-92/+0
* Do not leak the Errors default proc when calling to_hash or as_jsonJean Boussier2016-09-271-0/+10
* improve error message when include assertions failMichael Grosser2016-09-161-2/+2
* applies new string literal convention in activemodel/testXavier Noria2016-08-061-17/+17
* Add test to better demonstrate `ActiveModel::Errors#added?` behaviorJon Moss2016-06-211-0/+6
* Ensure that instances of `ActiveModel::Errors` can be marshalledSean Griffin2016-05-301-0/+9
* Followup of #18322Vipul A M2016-05-021-1/+1
* Do not create a hash key when calling ActiveModel::Errors#include?Esteban Pastorino2016-03-241-0/+7
* `ActiveRecord::Base#becomes` should copy the errorsVokhmin Alexey V2015-12-141-0/+10
* Use private method call assertions in Active Model tests.Kasper Timm Hansen2015-07-101-24/+9
* Remove use of mocha from Active ModelRoque Pinel2015-05-281-23/+45
* Adds/Corrects use case for adding an error messageZamith2015-05-041-0/+6
* Merge pull request #19021 from morgoth/activemodel-errors-refactoringRafael Mendonça França2015-03-301-0/+6
|\
| * Simplify and alias ActiveModel::Errors methods where possibleWojciech Wnętrzak2015-02-201-0/+6
* | Fix arguments order on assertionCarlos Antonio da Silva2015-03-221-1/+1
* | Fix ActiveModel::Errors#delete return value to stay backward compatibleRadan Skoric2015-03-221-0/+6
|/
* Deprecate `ActiveModel::Errors` `add_on_empty` and `add_on_blank` methodsWojciech Wnętrzak2015-02-191-7/+21
* Deprecate `ActiveModel::Errors` `get`, `set` and `[]=` methods.Wojciech Wnętrzak2015-02-011-15/+21
* Fixed duplicating ActiveModel::Errors#detailsWojciech Wnętrzak2015-01-241-1/+1
* Add ActiveModel::Errors#detailsWojciech Wnętrzak2015-01-201-0/+42
* Add #key? to ActiveModel::ErrorsGarry Shutler2014-10-141-0/+11
* Tests for indifferent access using full_messages_for. Closes #11916Pavel Penkov2014-03-081-0/+7
* 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
* Change all "can not"s to the correct "cannot".T.J. Schuck2014-01-031-33/+33
* Convert ActiveModel to 1.9 hash syntax.Patrick Robertson2013-05-011-4/+4
* 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
|/
* added more accurate test for add_on_emptyAngelo capilleri2013-02-191-0/+7
* Covering untested methods for ActiveModel::ErrorsAttila Domokos2013-01-101-0/+53
* 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
* use Array() instead flattenVasiliy Ermolovich2012-11-051-1/+39
* AM::Errors: allow :full_messages parameter for #as_jsonBogdan Gusiev2012-02-201-0/+10
* test title changed corresponding to the testprasath2012-02-091-1/+1
* replacing ordered hash to ruby hashprasath2012-02-081-1/+1
* Fix ActiveModel::Errors#dupPaweł Kondzior2012-01-161-0/+8
* Add ActiveModel::Errors#delete, which was not available after move to use del...Piotr Sarnacki2012-01-161-0/+7
* New #added? method on ActiveModel::ErrorsMartin Svalin2011-10-191-0/+43
* ActiveModel::Errors#generate_message without i18n_scope, and more test cases ...Martin Svalin2011-10-171-0/+21
* Added test for obj.errors.as_jsonLawrence Pit2011-09-091-0/+11
* Add ability to get an individual full error message + test for full_messages.Lawrence Pit2011-09-091-2/+18
* add has_key? to ActiveModel::ErrorsDamien Mathieu2011-09-061-0/+6