Sha256: eac10ab36df88de6a16e245e42acfd825bc27bdbac886251363cd0c4ae6628b6

Contents?: true

Size: 248 Bytes

Versions: 28

Compression:

Stored size: 248 Bytes

Contents

module HighLineTestHelpers
  def prepare_highline
    @input = instance_double(IO, eof?: false, gets: "q\n")
    @output = StringIO.new
    Imap::Backup::Configuration::Setup.highline = HighLine.new(@input, @output)
    [@input, @output]
  end
end

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
imap-backup-4.0.7 spec/support/higline_test_helpers.rb
imap-backup-4.0.6 spec/support/higline_test_helpers.rb
imap-backup-4.0.5 spec/support/higline_test_helpers.rb
imap-backup-4.0.4 spec/support/higline_test_helpers.rb
imap-backup-4.0.3 spec/support/higline_test_helpers.rb
imap-backup-4.0.2 spec/support/higline_test_helpers.rb
imap-backup-4.0.1 spec/support/higline_test_helpers.rb
imap-backup-4.0.0 spec/support/higline_test_helpers.rb
imap-backup-4.0.0.rc6 spec/support/higline_test_helpers.rb
imap-backup-4.0.0.rc5 spec/support/higline_test_helpers.rb
imap-backup-4.0.0.rc4 spec/support/higline_test_helpers.rb
imap-backup-4.0.0.rc3 spec/support/higline_test_helpers.rb
imap-backup-4.0.0.rc2 spec/support/higline_test_helpers.rb
imap-backup-4.0.0.rc1 spec/support/higline_test_helpers.rb
imap-backup-3.4.1 spec/support/higline_test_helpers.rb
imap-backup-3.4.0 spec/support/higline_test_helpers.rb
imap-backup-3.3.1 spec/support/higline_test_helpers.rb
imap-backup-3.3.0 spec/support/higline_test_helpers.rb
imap-backup-3.2.1 spec/support/higline_test_helpers.rb
imap-backup-3.2.0 spec/support/higline_test_helpers.rb