Sha256: 16bb91cf1390e9a5832ea793a32287fb680f4e5bfcb2db0bd5161851d9afcf5b

Contents?: true

Size: 366 Bytes

Versions: 1

Compression:

Stored size: 366 Bytes

Contents

require 'spec_helper'

describe Datadog::Notifications::Plugins::ActiveJob do
  it 'sanitizes tags' do
    NoopJob.perform_now
    expect(buffered).to eq [
      'activejob.perform:1|c|#custom:tag,env:test,host:test.host,job:noop,queue:test_queue',
      'activejob.perform.time:333|ms|#custom:tag,env:test,host:test.host,job:noop,queue:test_queue',
    ]
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
datadog-notifications-0.6.7 spec/datadog/notifications/plugins/active_job_spec.rb