aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/test/cases/errors_test.rb
Commit message (Expand)AuthorAgeFilesLines
* Add `ActiveModel::Errors#of_kind?`bogdanvlviv2019-01-041-1/+79
* Add slice! method to ActiveModel::ErrorsDaniel Lopez Prat2018-11-211-0/+24
* Fix ignored options in the `#added?` methodRonan Limon Duparcmeur2018-11-131-0/+10
* Ensure attribute is a symbol in the added? methodJeremy Baker2018-07-141-0/+6
* Replace `assert !` with `assert_not`Daniel Colson2018-04-191-4/+4
* Remove usage of strip_heredoc in the framework in favor of <<~Rafael Mendonça França2018-02-161-2/+1
* Use assert_empty and assert_not_emptyDaniel Colson2018-01-251-3/+3
* Use assert_predicate and assert_not_predicateDaniel Colson2018-01-251-4/+4
* Use respond_to test helpersDaniel Colson2018-01-251-1/+1
* fix bug on added? methodAlessandro Rodi2017-11-131-0/+7
* Use frozen string literal in activemodel/Kir Shatrov2017-07-161-0/+2
* Add ActiveModel::Errors#merge!Jahfer Husain2017-07-071-0/+12
* Revert "Merge pull request #29540 from kirs/rubocop-frozen-string"Matthew Draper2017-07-021-1/+0
* Enforce frozen string in RubocopKir Shatrov2017-07-011-0/+1
* 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