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-3.1.0 spec/support/higline_test_helpers.rb
imap-backup-3.0.0 spec/support/higline_test_helpers.rb
imap-backup-3.0.0.rc1 spec/support/higline_test_helpers.rb
imap-backup-2.2.2 spec/support/higline_test_helpers.rb
imap-backup-2.2.1 spec/support/higline_test_helpers.rb
imap-backup-2.2.0 spec/support/higline_test_helpers.rb
imap-backup-2.1.1 spec/support/higline_test_helpers.rb
imap-backup-2.1.0 spec/support/higline_test_helpers.rb