Sha256: bc3734ed187798ff148d8037e25c73172404ce69659fa8886da5eed97cfaeaf4
Contents?: true
Size: 406 Bytes
Versions: 1
Compression:
Stored size: 406 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_to_socket(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.0 | spec/spec_helper.rb |