Sha256: a0e36e0ab732246fc1fb1e5ab1ff18ec21fe99898985810710d947663d292a84
Contents?: true
Size: 498 Bytes
Versions: 19
Compression:
Stored size: 498 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_payload) Rollbar::Delay::SuckerPunch.call payload end end end
Version data entries
19 entries across 19 versions & 1 rubygems