aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test/commands
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2015-01-04 15:12:24 -0300
committerRafael Mendonça França <rafaelmfranca@gmail.com>2015-01-04 15:54:22 -0300
commit93559da4826546d07014f8cfa399b64b4a143127 (patch)
tree6982c16196765b6b5ef4be3cbc3a95d26decc269 /railties/test/commands
parentcf01d01bd908d09e4638c85d49b92cb5c41c65a7 (diff)
downloadrails-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 'railties/test/commands')
-rw-r--r--railties/test/commands/console_test.rb22
1 files changed, 0 insertions, 22 deletions
diff --git a/railties/test/commands/console_test.rb b/railties/test/commands/console_test.rb
index 4aea3e980f..de0cf0ba9e 100644
--- a/railties/test/commands/console_test.rb
+++ b/railties/test/commands/console_test.rb
@@ -46,28 +46,6 @@ class Rails::ConsoleTest < ActiveSupport::TestCase
assert_match(/Loading \w+ environment in sandbox \(Rails/, output)
end
- if RUBY_VERSION < '2.0.0'
- def test_debugger_option
- console = Rails::Console.new(app, parse_arguments(["--debugger"]))
- assert console.debugger?
- end
-
- def test_no_options_does_not_set_debugger_flag
- console = Rails::Console.new(app, parse_arguments([]))
- assert !console.debugger?
- end
-
- def test_start_with_debugger
- stubbed_console = Class.new(Rails::Console) do
- def require_debugger
- end
- end
-
- rails_console = stubbed_console.new(app, parse_arguments(["--debugger"]))
- silence_stream(STDOUT) { rails_console.start }
- end
- end
-
def test_console_with_environment
start ["-e production"]
assert_match(/\sproduction\s/, output)