aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/test/cases
Commit message (Expand)AuthorAgeFilesLines
* Remove `ActiveModel::TestCase` from libyuuji.yaginuma2017-02-071-1/+1
* Don't pollute Object with rubinius_skip and jruby_skipAkira Matsuda2017-01-171-9/+9
* Missing require for strip_heredocAkira Matsuda2017-01-171-0/+1
* "Use assert_nil if expecting nil. This will fail in minitest 6."Akira Matsuda2016-12-255-13/+13
* Describe what we are protectingAkira Matsuda2016-12-231-0/+2
* 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
* Merge pull request #26696 from iainbeeston/only-ruby-types-in-activemodelSean Griffin2016-12-081-18/+0
|\
| * Moved database-specific ActiveModel types into ActiveRecordIain Beeston2016-10-141-18/+0
* | Allow indifferent access in ActiveModel::ErrorsKenichi Kamiya2016-11-221-3/+8
* | Do not rely on Ruby implementation in AM testKir Shatrov2016-11-191-3/+3
* | Merge pull request #26935 from y-yagi/fix_ruby_warningAndrew White2016-10-311-1/+1
|\ \
| * | remove warning from big integer testyuuji.yaginuma2016-10-311-1/+1
* | | Add more rubocop rules about whitespacesRafael Mendonça França2016-10-299-55/+55
|/ /
* / Refactored ActiveModel::Type tests into their own filesIain Beeston2016-10-1513-168/+266
|/
* Removed deprecated :tokenizer in the length validatorRafael Mendonça França2016-10-101-36/+0
* 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-165-25/+25
* Fix broken comments indentation caused by rubocop auto-correct [ci skip]Ryuta Kamizono2016-09-141-1/+1
* Add test for allow_blank in numericality validationNicolai Reuschling2016-08-281-0/+7
* Add three new rubocop rulesRafael Mendonça França2016-08-1611-60/+60
* Fix broken alignments caused by auto-correct commit 411ccbdRyuta Kamizono2016-08-101-1/+2
* code gardening: removes redundant selfsXavier Noria2016-08-082-18/+18
* Add `Style/EmptyLines` in `.rubocop.yml` and remove extra empty linesRyuta Kamizono2016-08-072-2/+0
* applies remaining conventions across the projectXavier Noria2016-08-0613-15/+0
* normalizes indentation and whitespace across the projectXavier Noria2016-08-066-29/+28
* remove redundant curlies from hash argumentsXavier Noria2016-08-063-7/+5
* modernizes hash syntax in activemodelXavier Noria2016-08-063-6/+6
* applies new string literal convention in activemodel/testXavier Noria2016-08-0635-560/+560
* Add test to better demonstrate `ActiveModel::Errors#added?` behaviorJon Moss2016-06-211-0/+6
* Remove unused require and unused model stubJon Moss2016-05-311-1/+0
* Ensure that instances of `ActiveModel::Errors` can be marshalledSean Griffin2016-05-301-0/+9
* Support for unified Integer class in Ruby 2.4+Jeremy Daer2016-05-181-1/+1
* Merge pull request #24806 from vipulnsward/errors-details-testRafael França2016-05-051-1/+1
|\
| * Followup of #18322Vipul A M2016-05-021-1/+1
* | Check for the right exceptionRafael Mendonça França2016-05-031-1/+1
* | Change RangeError to a more specific ActiveModel::RangeErrorChristian Blais2016-05-031-6/+6
|/
* Add test case for interpolation with passing of data along with record attrib...Vipul A M2016-04-051-0/+8
* Allow passing record being validated to error message generatorPrathamesh Sonpatki2016-04-051-0/+8
* Merge pull request #24299 from kitop/activemodel-errors-include-fixKasper Timm Hansen2016-03-251-0/+7
|\
| * Do not create a hash key when calling ActiveModel::Errors#include?Esteban Pastorino2016-03-241-0/+7
* | Apply scale before precision when coercing floats to decimalSean Griffin2016-03-241-0/+7
* | Add edge cases to Time/Date/DateTime inclusion validation testsojab2016-03-241-3/+17
|/
* Remove load_paths fileArthur Neves2016-02-271-2/+0
* remove args from assert_nothing_raised in testsTara Scherner de la Fuente2016-02-222-4/+4
* Take UTC offset into account when assigning string value to time attribute.Andrey Novikov2016-01-051-0/+3
* Failing Tests for Validating String NumbericalityRobert Eshleman2015-12-221-0/+42
* Merge pull request #22598 from yui-knk/deprecate_string_callbackRafael França2015-12-162-1/+2
|\
| * Deprecate passing string to define callback.yui-knk2015-12-162-1/+2