aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/test/cases/types_test.rb
Commit message (Collapse)AuthorAgeFilesLines
* Refactored ActiveModel::Type tests into their own filesIain Beeston2016-10-151-125/+0
|
* normalizes indentation and whitespace across the projectXavier Noria2016-08-061-7/+7
|
* applies new string literal convention in activemodel/testXavier Noria2016-08-061-30/+30
| | | | | The current code base is not uniform. After some discussion, we have chosen to go with double quotes by default.
* Take UTC offset into account when assigning string value to time attribute.Andrey Novikov2016-01-051-0/+3
|
* Fix another implicit dependency of the AM test suiteSean Griffin2015-09-211-0/+1
| | | | Hopefully this is the last one
* Move the appropriate type tests to the Active Model suiteSean Griffin2015-09-211-0/+121
Any tests for a type which is not overridden by Active Record, and does not test the specifics of the attributes API interacting in more complex ways have no reason to be in the Active Record suite. Doing this revealed that the implementation of the date and time types in AM was actually completely broken, and incapable of returning any value other than `nil`.