Sha256: 4442a64e04bfa4a5c79d6a3d7909177d7715eb744edb92069a9b4f749c02a375
Contents?: true
Size: 700 Bytes
Versions: 4
Compression:
Stored size: 700 Bytes
Contents
# encoding: utf-8 # This file is distributed under New Relic's license terms. # See https://github.com/newrelic/rpm/blob/master/LICENSE for complete details. require 'multiverse_helpers' require 'minitest/unit' require 'new_relic/delayed_job_injection' if !NewRelic::Agent::Samplers::DelayedJobSampler.supported_backend? class UnsupportedBackendTest < Minitest::Test include MultiverseHelpers setup_and_teardown_agent do NewRelic::DelayedJobInjection.worker_name = "delayed" end def test_unsupported_raises_on_instantiation assert_raises(NewRelic::Agent::Sampler::Unsupported) do NewRelic::Agent::Samplers::DelayedJobSampler.new end end end end
Version data entries
4 entries across 4 versions & 1 rubygems