Sha256: e0c976b71734c62a328d4908519422ed8523ffa53a6e442987b86abba5b0a2b4
Contents?: true
Size: 509 Bytes
Versions: 14
Compression:
Stored size: 509 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
14 entries across 14 versions & 1 rubygems