mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
Clear the attribute after done
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user