Sha256: 7f98a9811cf2ea2533d68607217ae2f5b9dca76e2ee231cd4d163dc886127b06
Contents?: true
Size: 475 Bytes
Versions: 17
Compression:
Stored size: 475 Bytes
Contents
require 'rails_helper' module BloomRemit module Txns RSpec.describe PayoutJob do it { is_expected.to be_retryable false } describe "#perform" do let(:txn) { build_stubbed(:bloom_remit_txn) } it "posts the job to Bloom Remit" do expect(Txn).to receive(:find).with(txn.id).and_return(txn) expect(Payout).to receive(:call).with(txn) described_class.new.perform(txn.id) end end end end end
Version data entries
17 entries across 17 versions & 1 rubygems