Sha256: 51b21ea5f391a3e1958df9fa0b4f3c2abc69189b5b9f437d9d008b42577909b3

Contents?: true

Size: 314 Bytes

Versions: 2

Compression:

Stored size: 314 Bytes

Contents

require 'minitest/autorun'
require 'rodimus'

Rodimus.configure do |config|
  config.logger = Logger.new(nil)
end

class TestIO < IO # Because we can't read closed StringIOs
  attr_reader :history

  def initialize
    @history = []
  end

  def close; nil; end

  def puts(string)
    history << string
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rodimus-1.3.1 test/test_helper.rb
rodimus-1.3.0 test/test_helper.rb