Sha256: 4f4d7013ac2bc4e849c1d8aa7216eec082477e082bad0172eec6632b0d0ad4c8
Contents?: true
Size: 381 Bytes
Versions: 5
Compression:
Stored size: 381 Bytes
Contents
require 'rib/test' require 'rib/core/readline' describe Rib::Readline do paste :rib test_for Rib::Readline do would '#before_loop set @history' do expect(shell.history).eq Readline::HISTORY end would '#get_input calling Readline.readline' do mock(Readline).readline(shell.prompt, true){'ok'} expect(shell.get_input).eq 'ok' end end end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
rib-1.6.1 | test/core/test_readline.rb |
rib-1.6.0 | test/core/test_readline.rb |
rib-1.5.4 | test/core/test_readline.rb |
rib-1.5.3 | test/core/test_readline.rb |
rib-1.5.2 | test/core/test_readline.rb |