Sha256: 22bec5a1d54c8ba07af10a3b1402bd1ad1e6b073373d9a3ef1672387a6a8127f

Contents?: true

Size: 432 Bytes

Versions: 8

Compression:

Stored size: 432 Bytes

Contents

# frozen_string_literal: true

ENV['ENV'] = 'test'

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

require_relative 'helpers/rubocop_helper'

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

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

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
statsd-instrument-3.0.0.pre2 test/test_helper.rb
statsd-instrument-2.9.2 test/test_helper.rb
statsd-instrument-3.0.0.pre1 test/test_helper.rb
statsd-instrument-2.9.1 test/test_helper.rb
statsd-instrument-2.9.0 test/test_helper.rb
statsd-instrument-2.8.0 test/test_helper.rb
statsd-instrument-2.7.1 test/test_helper.rb
statsd-instrument-2.7.0 test/test_helper.rb