Sha256: 29242c91b92e55dbecc9bef63d89b5e9a11fd5cc9ee0667d0e344fd898f40194

Contents?: true

Size: 371 Bytes

Versions: 2

Compression:

Stored size: 371 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 flush_buffer; end
    alias :send_stat :send_to_buffer
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
sidekiq-datadog-0.3.5 spec/spec_helper.rb
sidekiq-datadog-0.3.4 spec/spec_helper.rb