Sha256: 8b62a5d45018d974f55b7ba8bcd4e3fe06d21567182b05ba1c8203eeef868b90

Contents?: true

Size: 371 Bytes

Versions: 10

Compression:

Stored size: 371 Bytes

Contents

require File.expand_path 'test_helper', File.dirname(__FILE__)

class TestDevice < MiniTest::Test

  def setup
    @device = IRKit::Device.find.first
  end

  def test_get_messages
    res = @device.get_messages
    assert_equal res.class, IRKit::Response
    assert_equal res.format, "raw"
    assert_equal res.freq, 38
    assert_equal res.data.class, Array
  end

end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
irkit-0.1.0 test/test_device.rb
irkit-0.0.9 test/test_device.rb
irkit-0.0.8 test/test_device.rb
irkit-0.0.7 test/test_device.rb
irkit-0.0.6 test/test_device.rb
irkit-0.0.5 test/test_device.rb
irkit-0.0.4 test/test_device.rb
irkit-0.0.3 test/test_device.rb
irkit-0.0.2 test/test_device.rb
irkit-0.0.1 test/test_device.rb