aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/multiparameter_attributes_test.rb
Commit message (Collapse)AuthorAgeFilesLines
* Push multi-parameter assignement into the typesSean Griffin2015-02-071-0/+8
| | | | | | | | | | | | This allows us to remove `Type::Value#klass`, as it was only used for multi-parameter assignment to reach into the types internals. The relevant type objects now accept a hash in addition to their previous accepted arguments to `type_cast_from_user`. This required minor modifications to the tests, since previously they were relying on the fact that mulit-parameter assignement was reaching into the internals of time zone aware attributes. In reaility, changing those properties at runtime wouldn't change the accessor methods for all other forms of assignment.
* Time columns should support time zone aware attributesSean Griffin2015-01-151-2/+2
| | | | | | The types that are affected by `time_zone_aware_attributes` (which is on by default) have been made configurable, in case this is a breaking change for existing applications.
* Remove dead test code for unsupported adaptersSean Griffin2014-05-171-2/+2
|
* Don't skip tests if we don't need to.Rafael Mendonça França2013-11-081-6/+6
| | | | | | | We can conditional define the tests depending on the adapter or connection. Lets keep the skip for fail tests that need to be fixed.
* prevent global timezone state from leaking out of test cases.Yves Senn2013-10-251-82/+78
|
* reset default timezone and make test order independentNeeraj Singh2013-07-281-0/+4
|
* Remove unneeded requireRafael Mendonça França2012-10-061-1/+0
|
* Move multiparameter attributes related tests to its own fileRafael Mendonça França2012-10-061-0/+351