Sha256: fe06ef7fb734e662ad3dcc00df00fd0316703d17b8ef23ad2a1e2a7de12a9b14
Contents?: true
Size: 623 Bytes
Versions: 61
Compression:
Stored size: 623 Bytes
Contents
require 'spec_helper' require 'rollbar/configuration' describe Rollbar::Configuration do describe '#use_thread' do it 'enables async and sets a Thread as handler' do subject.use_thread expect(subject.use_async).to be_eql(true) expect(subject.async_handler).to be_eql(Rollbar::Delay::Thread) end end describe '#use_resque' do it 'enables async and sets Resque as the handler' do require 'resque' subject.use_resque(:queue => 'errors') expect(subject.use_async).to be_eql(true) expect(subject.async_handler).to be_eql(Rollbar::Delay::Resque) end end end
Version data entries
61 entries across 61 versions & 1 rubygems