diff options
author | Sean Griffin <sean@thoughtbot.com> | 2014-05-30 12:52:58 -0700 |
---|---|---|
committer | Sean Griffin <sean@thoughtbot.com> | 2014-05-30 12:52:58 -0700 |
commit | 24b6fa59523dc9eccf0a7c553d3da083ea860045 (patch) | |
tree | ec614c75557ee661ff6ae73b5f03879ece1741e9 /activesupport/lib | |
parent | e6331b0aa81db3b402f5c1857a0c56c00daf9960 (diff) | |
download | rails-24b6fa59523dc9eccf0a7c553d3da083ea860045.tar.gz rails-24b6fa59523dc9eccf0a7c553d3da083ea860045.tar.bz2 rails-24b6fa59523dc9eccf0a7c553d3da083ea860045.zip |
Update some bad test cases for serialized columns
The first case was not testing what the issue mentioned actually was (A
subclass of a class with serialized attributes does not serialize when
they come from the database).
The second case was a bad coder. It would fail if the model was `dup`ed,
or if the the model was loaded from the database and then saved again.
The third case wasn't testing anything that wasn't covered by the second
(and was also a bad coder for the same reasons as the second).
Diffstat (limited to 'activesupport/lib')
0 files changed, 0 insertions, 0 deletions