Sha256: 74271354866d7c00a3d615a27eb15ea41c4ef9cac8659f56bfdf97f9f16687e3
Contents?: true
Size: 510 Bytes
Versions: 33
Compression:
Stored size: 510 Bytes
Contents
require 'spec_helper' begin require 'rollbar/delay/sucker_punch' require 'sucker_punch/testing/inline' rescue LoadError module Rollbar module Delay class SuckerPunch end end end end describe Rollbar::Delay::SuckerPunch, :if => RUBY_VERSION != '1.8.7' do describe '.call' do let(:payload) { 'anything' } it 'performs the task asynchronously' do Rollbar.should_receive(:process_from_async_handler) Rollbar::Delay::SuckerPunch.call(payload) end end end
Version data entries
33 entries across 33 versions & 1 rubygems