Sha256: 30025943a532ef285715afc5782ff226fd431c094833082ee1c6d2f495aeb41f
Contents?: true
Size: 478 Bytes
Versions: 22
Compression:
Stored size: 478 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 asynchronously the task" do Rollbar.should_receive(:process_payload) subject.call payload end end end
Version data entries
22 entries across 22 versions & 1 rubygems