diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2015-01-04 15:12:24 -0300 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2015-01-04 15:54:22 -0300 |
commit | 93559da4826546d07014f8cfa399b64b4a143127 (patch) | |
tree | 6982c16196765b6b5ef4be3cbc3a95d26decc269 /activesupport/test/core_ext | |
parent | cf01d01bd908d09e4638c85d49b92cb5c41c65a7 (diff) | |
download | rails-93559da4826546d07014f8cfa399b64b4a143127.tar.gz rails-93559da4826546d07014f8cfa399b64b4a143127.tar.bz2 rails-93559da4826546d07014f8cfa399b64b4a143127.zip |
Remove debugger support
bebugger doesn't work with Ruby 2.2 so we don't need to support it
anymore
Diffstat (limited to 'activesupport/test/core_ext')
-rw-r--r-- | activesupport/test/core_ext/kernel_test.rb | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/activesupport/test/core_ext/kernel_test.rb b/activesupport/test/core_ext/kernel_test.rb index 8abbd6c69b..503e6595cb 100644 --- a/activesupport/test/core_ext/kernel_test.rb +++ b/activesupport/test/core_ext/kernel_test.rb @@ -65,27 +65,3 @@ class MockStdErr puts(message) end end - -class KernelDebuggerTest < ActiveSupport::TestCase - def test_debugger_not_available_message_to_stderr - old_stderr = $stderr - $stderr = MockStdErr.new - debugger - assert_match(/Debugger requested/, $stderr.output.first) - ensure - $stderr = old_stderr - end - - def test_debugger_not_available_message_to_rails_logger - rails = Class.new do - def self.logger - @logger ||= MockStdErr.new - end - end - Object.const_set(:Rails, rails) - debugger - assert_match(/Debugger requested/, rails.logger.output.first) - ensure - Object.send(:remove_const, :Rails) - end -end if RUBY_VERSION < '2.0.0' |