Sha256: ebbdd0f54e0e9a3bfe53ccb04a2859e28a74f338fdc9836aaab6fce272c11cbb

Contents?: true

Size: 419 Bytes

Versions: 12

Compression:

Stored size: 419 Bytes

Contents

require_relative "test_helper.rb"

class UtilTest < Minitest::Test
  def test_util_init
    device_config = {
      ip: "111.222.333",
      user: "user",
      password: "password",
      logger: Logger.new("/dev/null")
    }
    test = TestClass.new(**device_config)
    assert test.inited
  end
end

class TestClass < RokuBuilder::Util
  def init
    @inited = true
  end
  def inited
    @inited || false
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
roku_builder-3.6.2 tests/roku_builder/util_test.rb
roku_builder-3.6.1 tests/roku_builder/util_test.rb
roku_builder-3.6.0 tests/roku_builder/util_test.rb
roku_builder-3.5.0 tests/roku_builder/util_test.rb
roku_builder-3.4.4 tests/roku_builder/util_test.rb
roku_builder-3.4.3 tests/roku_builder/util_test.rb
roku_builder-3.4.2 tests/roku_builder/util_test.rb
roku_builder-3.4.1 tests/roku_builder/util_test.rb
roku_builder-3.4.0 tests/roku_builder/util_test.rb
roku_builder-3.3.4 tests/roku_builder/util_test.rb
roku_builder-3.3.3 tests/roku_builder/util_test.rb
roku_builder-3.3.2 tests/roku_builder/util_test.rb