diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2005-01-25 20:00:20 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2005-01-25 20:00:20 +0000 |
commit | 66f44e6cbbec39e217f9cff167608f98ecc6260a (patch) | |
tree | 28fe3421a72aca730e6e532c11a97e21e3584810 /activerecord/test/base_test.rb | |
parent | 10220d356dccb6ccdfe3d1a91531511d6f0a9cf8 (diff) | |
download | rails-66f44e6cbbec39e217f9cff167608f98ecc6260a.tar.gz rails-66f44e6cbbec39e217f9cff167608f98ecc6260a.tar.bz2 rails-66f44e6cbbec39e217f9cff167608f98ecc6260a.zip |
Updated documentation for serialize
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@512 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activerecord/test/base_test.rb')
-rwxr-xr-x | activerecord/test/base_test.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/activerecord/test/base_test.rb b/activerecord/test/base_test.rb index 0f93f2ffbc..3d6367fe73 100755 --- a/activerecord/test/base_test.rb +++ b/activerecord/test/base_test.rb @@ -609,6 +609,8 @@ class BasicsTest < Test::Unit::TestCase topic = Topic.create("content" => myobj) Topic.serialize("content", MyObject) assert_equal(myobj, topic.content) + + assert_equal(myobj, topic.content) end def test_serialized_attribute_with_class_constraint |