Sha256: 62c9ac990a4dcb27004ebc9ba6ac430ebe9a42e501a6579380431e3ccd935ebe

Contents?: true

Size: 339 Bytes

Versions: 3

Compression:

Stored size: 339 Bytes

Contents

require_relative '../helper'
require 'termistat/tee_io'

class TestTeeIO < MiniTest::Unit::TestCase
  def setup
    @default = Termistat::Config.new
    @custom  = Termistat::Config.new(
      :position => :top_right,
      :align    => :left,
    )
  end

  def test_configuration
    assert_equal :top_right, @default.position
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
termistat-0.0.3 test/units/test_config.rb
termistat-0.0.2 test/units/test_config.rb
termistat-0.0.1 test/units/test_config.rb