Sha256: 95165f0c5a31891011e96a77cd068450e2aab5e4a8cfc3e86c2bb06beb7c1bc8

Contents?: true

Size: 377 Bytes

Versions: 1

Compression:

Stored size: 377 Bytes

Contents

require_relative 'helper'
require_relative '../lib/xrandr'

module Xrandr
  class OutputTest < Minitest::Test
    def test_new_raises_if_no_name
      assert_raises ArgumentError do
        Output.new connected: false
      end
    end

    def test_new_raises_if_no_connection_info
      assert_raises ArgumentError do
        Output.new name: 'o'
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
xrandr-0.0.2 test/output_test.rb