diff options
author | Ryan Bigg <radarlistener@gmail.com> | 2008-10-18 17:43:38 +1030 |
---|---|---|
committer | Ryan Bigg <radarlistener@gmail.com> | 2008-10-18 17:43:38 +1030 |
commit | 2139a1b6812be7ca86de2df52e9776a2be4a2bf7 (patch) | |
tree | 3131e29d3582b8aa1ba1c68710f327ce2f22aa1d /activesupport/test/memoizable_test.rb | |
parent | 09b7e351316cb87a815678241fc90af549327cf3 (diff) | |
parent | 095cafbcd7fbae3baa845b23b93c8dca93b442f8 (diff) | |
download | rails-2139a1b6812be7ca86de2df52e9776a2be4a2bf7.tar.gz rails-2139a1b6812be7ca86de2df52e9776a2be4a2bf7.tar.bz2 rails-2139a1b6812be7ca86de2df52e9776a2be4a2bf7.zip |
Merge branch 'master' of git@github.com:lifo/docrails
Diffstat (limited to 'activesupport/test/memoizable_test.rb')
-rw-r--r-- | activesupport/test/memoizable_test.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/activesupport/test/memoizable_test.rb b/activesupport/test/memoizable_test.rb index 135d56f14a..a78ebd9425 100644 --- a/activesupport/test/memoizable_test.rb +++ b/activesupport/test/memoizable_test.rb @@ -100,6 +100,11 @@ uses_mocha 'Memoizable' do def test_memoization_with_punctuation assert_equal true, @person.name? + + assert_nothing_raised(NameError) do + @person.memoize_all + @person.unmemoize_all + end end def test_memoization_with_nil_value |