test/more/test_multiline_history.rb in rib-0.9.0 vs test/more/test_multiline_history.rb in rib-0.9.1
- old
+ new
@@ -6,15 +6,15 @@
describe Rib::MultilineHistory do
behaves_like :rib
behaves_like :setup_multiline
def check str, err=nil
- @shell.history.clear
+ clear_history(@shell.history)
with_history(str, err)
setup_shell
- @shell.history.clear
+ clear_history(@shell.history)
@shell.history << 'old history'
with_history(str, err, 'old history')
end
def with_history str, err, *prefix