diff options
author | lest <just.lest@gmail.com> | 2011-12-21 18:53:38 +0300 |
---|---|---|
committer | lest <just.lest@gmail.com> | 2011-12-21 18:53:38 +0300 |
commit | a57c6441a829a08d3ca341eecf4f1b4a5e43b909 (patch) | |
tree | f62b74d9d619ca68c46b2ae63175d774eef418ba /activesupport/test | |
parent | 2e9eb0a3ca88bf2fe402261ef684fb215edea215 (diff) | |
download | rails-a57c6441a829a08d3ca341eecf4f1b4a5e43b909.tar.gz rails-a57c6441a829a08d3ca341eecf4f1b4a5e43b909.tar.bz2 rails-a57c6441a829a08d3ca341eecf4f1b4a5e43b909.zip |
remove Kernel#singleton_class from core_ext as it is present in ruby 1.9
Diffstat (limited to 'activesupport/test')
-rw-r--r-- | activesupport/test/core_ext/kernel_test.rb | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/activesupport/test/core_ext/kernel_test.rb b/activesupport/test/core_ext/kernel_test.rb index 995bc0751a..73a7179872 100644 --- a/activesupport/test/core_ext/kernel_test.rb +++ b/activesupport/test/core_ext/kernel_test.rb @@ -42,11 +42,6 @@ class KernelTest < Test::Unit::TestCase assert_equal 1, silence_stderr { 1 } end - def test_singleton_class - o = Object.new - assert_equal class << o; self end, o.singleton_class - end - def test_class_eval o = Object.new class << o; @x = 1; end @@ -112,4 +107,4 @@ class KernelDebuggerTest < Test::Unit::TestCase ensure Object.send(:remove_const, "Rails") end -end
\ No newline at end of file +end |