Sha256: d2ef1bf19c05db5b628cbfcd4172311ab9b46abe6fd085547be600dee21344dd

Contents?: true

Size: 487 Bytes

Versions: 1

Compression:

Stored size: 487 Bytes

Contents

# ********** Copyright Viacom, Inc. Apache 2.0 **********

require_relative "test_helper.rb"

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

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
roku_builder-3.13.0 test/roku_builder/test_util.rb