Sha256: 8c3bd1c6ebe2d5ed0add017297a30d3a07d3e397f8f71ff87c4698cccc8ea19b

Contents?: true

Size: 262 Bytes

Versions: 3

Compression:

Stored size: 262 Bytes

Contents

ENV['RACK_ENV'] ||= 'test'
require 'sidekiq-datadog'
require 'timecop'

module Mock
  class Worker; end

  class Statsd < ::Datadog::Statsd
    def send_stat(message)
      messages.push message
    end

    def messages
      @messages ||= []
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
sidekiq-datadog-0.5.3 spec/spec_helper.rb
sidekiq-datadog-0.5.2 spec/spec_helper.rb
sidekiq-datadog-0.5.1 spec/spec_helper.rb