Sha256: 70bcac546283a426c29ee54bcc706f2a830ab61fd3d8ea0da3440e6c2b3c7b33

Contents?: true

Size: 457 Bytes

Versions: 2

Compression:

Stored size: 457 Bytes

Contents

# frozen_string_literal: true

ENV['ENV'] = 'test'

require 'minitest/autorun'
require 'minitest/pride'
require 'mocha/minitest'
require 'statsd-instrument'

require_relative 'helpers/rubocop_helper'

module StatsD
  module Instrument
    def self.strict_mode_enabled?
      StatsD::Instrument.const_defined?(:Strict) &&
        StatsD.singleton_class.ancestors.include?(StatsD::Instrument::Strict)
    end
  end
end

StatsD.logger = Logger.new(File::NULL)

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
statsd-instrument-3.0.2 test/test_helper.rb
statsd-instrument-3.0.1 test/test_helper.rb