diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2009-03-28 23:56:14 -0700 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2009-03-28 23:56:14 -0700 |
commit | 7bcfff4457d98afca43b72c5ecb083fb6cab0a93 (patch) | |
tree | 6bc2ed28b8333cc8fe5db54c087ad90f4ec510ac /activesupport/test/core_ext/object_and_class_ext_test.rb | |
parent | e0f56fc96d539db8f94ed6c8ef0ec2a4bddf6393 (diff) | |
download | rails-7bcfff4457d98afca43b72c5ecb083fb6cab0a93.tar.gz rails-7bcfff4457d98afca43b72c5ecb083fb6cab0a93.tar.bz2 rails-7bcfff4457d98afca43b72c5ecb083fb6cab0a93.zip |
Explicit test dependencies
Diffstat (limited to 'activesupport/test/core_ext/object_and_class_ext_test.rb')
-rw-r--r-- | activesupport/test/core_ext/object_and_class_ext_test.rb | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/activesupport/test/core_ext/object_and_class_ext_test.rb b/activesupport/test/core_ext/object_and_class_ext_test.rb index b6515e05a0..c919698c0f 100644 --- a/activesupport/test/core_ext/object_and_class_ext_test.rb +++ b/activesupport/test/core_ext/object_and_class_ext_test.rb @@ -1,4 +1,5 @@ require 'abstract_unit' +require 'active_support/core_ext/object' class ClassA; end class ClassB < ClassA; end @@ -108,16 +109,6 @@ class ClassExtTest < Test::Unit::TestCase end class ObjectTests < Test::Unit::TestCase - def test_suppress_re_raises - assert_raise(LoadError) { suppress(ArgumentError) {raise LoadError} } - end - def test_suppress_supresses - suppress(ArgumentError) { raise ArgumentError } - suppress(LoadError) { raise LoadError } - suppress(LoadError, ArgumentError) { raise LoadError } - suppress(LoadError, ArgumentError) { raise ArgumentError } - end - def test_extended_by foo = Foo.new assert foo.extended_by.include?(Bar) |