diff options
author | Yehuda Katz <yehudakatz@YK.local> | 2010-02-16 15:00:10 -0800 |
---|---|---|
committer | Yehuda Katz <yehudakatz@YK.local> | 2010-02-16 15:00:10 -0800 |
commit | 762088a0ef1f69ab09833732cfe8190098303ee6 (patch) | |
tree | 08ecd9ca32e3bf3d3f7d4219be33c9a79549e58c /activesupport/test/core_ext | |
parent | ac956c4aee7e2108033af087845f4f01c591d52f (diff) | |
download | rails-762088a0ef1f69ab09833732cfe8190098303ee6.tar.gz rails-762088a0ef1f69ab09833732cfe8190098303ee6.tar.bz2 rails-762088a0ef1f69ab09833732cfe8190098303ee6.zip |
Clear the attribute after done
Diffstat (limited to 'activesupport/test/core_ext')
-rw-r--r-- | activesupport/test/core_ext/class/delegating_attributes_test.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/activesupport/test/core_ext/class/delegating_attributes_test.rb b/activesupport/test/core_ext/class/delegating_attributes_test.rb index 011068ab74..636edb8d4b 100644 --- a/activesupport/test/core_ext/class/delegating_attributes_test.rb +++ b/activesupport/test/core_ext/class/delegating_attributes_test.rb @@ -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 |