Sha256: 5ce496381d630ac011f4c473b4aa8e93fd09e914ca526b6b0b30eba974f21084
Contents?: true
Size: 401 Bytes
Versions: 1
Compression:
Stored size: 401 Bytes
Contents
ENV['RACK_ENV'] ||= 'test' $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib')) $LOAD_PATH.unshift(File.dirname(__FILE__)) require 'sidekiq-datadog' module Mock class Worker end class Statsd < ::Datadog::Statsd def timing(stat, ms, opts={}); super(stat, 333, opts); end def send_stat(message); written.push(message); end def written; @written ||= []; end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
sidekiq-datadog-0.4.1 | spec/spec_helper.rb |