test/reload_test.rb in byebug-1.8.2 vs test/reload_test.rb in byebug-2.0.0
- old
+ new
@@ -1,11 +1,11 @@
require_relative 'test_helper'
class TestReload < TestDsl::TestCase
describe 'autoreloading' do
- after { Byebug::Command.settings[:autoreload] = true }
+ after { Byebug.settings[:autoreload] = true }
it 'must notify that automatic reloading is on by default' do
enter 'reload'
debug_file 'reload'
check_output_includes \
@@ -29,20 +29,6 @@
end, 'l 4-4'
debug_file 'reload'
check_output_includes '4: a = 100'
end
end
-
- describe 'Post Mortem' do
- after { change_line_in_file(fullpath('post_mortem'), 7, ' z = 4') }
-
- it 'must work in post-mortem mode' do
- enter 'cont', -> do
- change_line_in_file(fullpath('post_mortem'), 7, 'z = 100')
- 'reload'
- end, 'l 7-7'
- debug_file 'post_mortem'
- check_output_includes '7: z = 100'
- end
- end
-
end