aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/type/type_map_test.rb
Commit message (Collapse)AuthorAgeFilesLines
* Use frozen-string-literal in ActiveRecordKir Shatrov2017-07-191-0/+2
|
* Revert "Merge pull request #29540 from kirs/rubocop-frozen-string"Matthew Draper2017-07-021-1/+0
| | | | | This reverts commit 3420a14590c0e6915d8b6c242887f74adb4120f9, reversing changes made to afb66a5a598ce4ac74ad84b125a5abf046dcf5aa.
* Enforce frozen string in RubocopKir Shatrov2017-07-011-0/+1
|
* normalizes indentation and whitespace across the projectXavier Noria2016-08-061-1/+0
|
* applies new string literal convention in activerecord/testXavier Noria2016-08-061-24/+24
| | | | | The current code base is not uniform. After some discussion, we have chosen to go with double quotes by default.
* Reintroduce cache with testsSean Griffin2014-11-191-0/+32
|
* Add tests for `TypeMap#fetch` and push up to `TypeMap`Sean Griffin2014-11-191-0/+15
| | | | | | | It doesn't make sense for the subclass to implement this method, and not have it on the parent. We can also DRY up the implementation of `#lookup` to be defined in terms of fetch, which will give us a single point of entry
* That last test was incorrect... ☕Sean Griffin2014-11-191-10/+0
|
* Introduce test to demonstrate regression caused by da99a2a2Sean Griffin2014-11-191-0/+10
|
* Move types to the top level `ActiveRecord` namespaceSean Griffin2014-05-271-0/+130
`ActiveRecord::ConnectionAdapters::Type::Value` => `ActiveRecord::Type::Value`