Sha256: 704c5b314a1afbab9f433ec61b76eb0d6e91d118b6f93f403965ffbb42c01456

Contents?: true

Size: 244 Bytes

Versions: 10

Compression:

Stored size: 244 Bytes

Contents

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

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
imap-backup-2.0.0 spec/support/higline_test_helpers.rb
imap-backup-1.4.2 spec/support/higline_test_helpers.rb
imap-backup-2.0.0.rc4 spec/support/higline_test_helpers.rb
imap-backup-1.4.1 spec/support/higline_test_helpers.rb
imap-backup-1.4.0 spec/support/higline_test_helpers.rb
imap-backup-2.0.0.rc3 spec/support/higline_test_helpers.rb
imap-backup-2.0.0.rc2 spec/support/higline_test_helpers.rb
imap-backup-2.0.0.rc1 spec/support/higline_test_helpers.rb
imap-backup-1.3.0 spec/support/higline_test_helpers.rb
imap-backup-1.2.3 spec/support/higline_test_helpers.rb