diff options
author | Scott Barron <scott@elitists.net> | 2005-09-27 09:25:17 +0000 |
---|---|---|
committer | Scott Barron <scott@elitists.net> | 2005-09-27 09:25:17 +0000 |
commit | 76a7a525576fa1ed12a362fac5da6e2f8b6dc92c (patch) | |
tree | d96db542655dc63362a04f09ff567acec1aca8b7 /activerecord/test | |
parent | f5f7beb3692a2919943f44b10b29852b30f8fb1e (diff) | |
download | rails-76a7a525576fa1ed12a362fac5da6e2f8b6dc92c.tar.gz rails-76a7a525576fa1ed12a362fac5da6e2f8b6dc92c.tar.bz2 rails-76a7a525576fa1ed12a362fac5da6e2f8b6dc92c.zip |
Fix serialization problem with YAML in 1.8.3
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2360 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activerecord/test')
-rwxr-xr-x | activerecord/test/base_test.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/activerecord/test/base_test.rb b/activerecord/test/base_test.rb index 108955f5a3..3e73915e30 100755 --- a/activerecord/test/base_test.rb +++ b/activerecord/test/base_test.rb @@ -754,9 +754,9 @@ class BasicsTest < Test::Unit::TestCase end def test_quote - content = "\\ \001 ' \n \\n \"" - topic = Topic.create('content' => content) - assert_equal content, Topic.find(topic.id).content + author_name = "\\ \001 ' \n \\n \"" + topic = Topic.create('author_name' => author_name) + assert_equal author_name, Topic.find(topic.id).author_name end def test_class_level_destroy |