Sha256: a9edc155cce3231e001a03f6f152256d34eb9bf2c18500c6e8c7ac31bfd9e249
Contents?: true
Size: 719 Bytes
Versions: 57
Compression:
Stored size: 719 Bytes
Contents
# (c) Copyright IBM Corp. 2021 # (c) Copyright Instana Inc. 2016 require 'test_helper' class InstanaTest < Minitest::Test def test_that_it_has_a_version_number refute_nil ::Instana::VERSION end def test_that_it_has_a_logger refute_nil ::Instana.logger end def test_that_it_has_an_agent refute_nil ::Instana.agent end def test_that_it_has_a_tracer refute_nil ::Instana.tracer end def test_that_it_has_a_config refute_nil ::Instana.config end def test_assign_logger mock = Minitest::Mock.new mock.expect(:info, true, [String]) ::Instana.logger = mock ::Instana.logger.info('test') ::Instana.logger = Logger.new('/dev/null') mock.verify end end
Version data entries
57 entries across 57 versions & 1 rubygems