Clear the attribute after done

This commit is contained in:
Yehuda Katz
2010-02-16 15:00:10 -08:00
parent ac956c4aee
commit 762088a0ef

View File

@@ -84,6 +84,8 @@ class DelegatingAttributesTest < Test::Unit::TestCase
assert_equal "1", Child.some_attribute
assert_nil Mokopuna.some_attribute
ensure
Child.some_attribute=nil
end
end