Sha256: c7591d32913c9baf4afc2cc3f545bcd2fcc0dc96ac23000626215631d78845c6
Contents?: true
Size: 564 Bytes
Versions: 15
Compression:
Stored size: 564 Bytes
Contents
describe 'requiring queue_classic_plus/new_relic' do subject do Class.new(QueueClassicPlus::Base) do @queue = :test def self.perform end def self.name 'Funky::Name' end end end it 'adds NewRelic profiling support' do expect(subject).to receive(:perform_action_with_newrelic_trace).once.with({ name: 'perform', class_name: 'Funky::Name', category: 'OtherTransaction/QueueClassicPlus', }) subject._perform require 'queue_classic_plus/new_relic' subject._perform end end
Version data entries
15 entries across 15 versions & 1 rubygems