Sha256: 6708aeb1091da9f1590fafd83d4b3d691583041ae89a73d13e43a230604d91d6
Contents?: true
Size: 532 Bytes
Versions: 17
Compression:
Stored size: 532 Bytes
Contents
require 'rails_helper' module BloomRemit module Txns RSpec.describe Payout, ".call" do it "makes a call to Bloom Remit" do actions = [ InitializeClient, Post, HandleResponse, RunHook, ] txn = build_stubbed(:bloom_remit_txn) ctx = LightService::Context.new(txn: txn) actions.each do |action| expect(action).to receive(:execute).with(ctx).and_return(ctx) end described_class.(txn) end end end end
Version data entries
17 entries across 17 versions & 1 rubygems