Sha256: 7f6bc7e8750d769ba30c4d47ee4b984858cb1cbe60a67f17020f333e1519ded3
Contents?: true
Size: 464 Bytes
Versions: 16
Compression:
Stored size: 464 Bytes
Contents
require 'spec_helper' require 'rollbar/delay/resque' describe Rollbar::Delay::Resque do describe '.call' do let(:payload) do { :key => 'value' } end before do allow(Resque).to receive(:inline?).and_return(true) end it 'process the payload' do loaded_hash = MultiJson.load(MultiJson.dump(payload)) expect(Rollbar).to receive(:process_payload).with(loaded_hash) described_class.call(payload) end end end
Version data entries
16 entries across 16 versions & 1 rubygems