提交 dcbf44e8 编写于 作者: G Gannon McGibbon

Fix attribute decoration leak on serialized attribute test

上级 9c6e362a
......@@ -13,6 +13,10 @@ class SerializedAttributeTest < ActiveRecord::TestCase
MyObject = Struct.new :attribute1, :attribute2
# NOTE: Use a duplicate of Topic so attribute
# changes don't bleed into other tests
Topic = ::Topic.dup
teardown do
Topic.serialize("content")
end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册