diff options
author | Rick Olson <technoweenie@gmail.com> | 2006-09-27 18:46:46 +0000 |
---|---|---|
committer | Rick Olson <technoweenie@gmail.com> | 2006-09-27 18:46:46 +0000 |
commit | d6925b14fa2039ba2523c69e09f2ccad15e9016f (patch) | |
tree | 419b4c35df5f84bbcc07d08587e40706519093a7 /activesupport/test/option_merger_test.rb | |
parent | e537de00d806368f21cc22bde118fb90c1b6fe2d (diff) | |
download | rails-d6925b14fa2039ba2523c69e09f2ccad15e9016f.tar.gz rails-d6925b14fa2039ba2523c69e09f2ccad15e9016f.tar.bz2 rails-d6925b14fa2039ba2523c69e09f2ccad15e9016f.zip |
Don't undefine #class in OptionMerger [Rick]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5197 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activesupport/test/option_merger_test.rb')
-rw-r--r-- | activesupport/test/option_merger_test.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/activesupport/test/option_merger_test.rb b/activesupport/test/option_merger_test.rb index db32d4f6c1..0cddfe8c21 100644 --- a/activesupport/test/option_merger_test.rb +++ b/activesupport/test/option_merger_test.rb @@ -38,6 +38,11 @@ class OptionMergerTest < Test::Unit::TestCase end end + # Needed when counting objects with the ObjectSpace + def test_option_merger_class_method + assert_equal ActiveSupport::OptionMerger, ActiveSupport::OptionMerger.new('', '').class + end + private def method_with_options(options = {}) options |