Sha256: c2f7c13110a3157681ca2428f1141ed19b08b4ad784a8bd697e6e1f50544348d
Contents?: true
Size: 417 Bytes
Versions: 17
Compression:
Stored size: 417 Bytes
Contents
require 'rails_helper' module BloomRemit module Txns RSpec.describe RunHook do let(:txn) { build_stubbed(:txn) } let(:response) { build_stubbed(:response, body: {is: "body"}) } it "calls on OnUpdate, passing the response's body" do expect(OnUpdate).to receive(:call).with(txn, {is: "body"}) described_class.execute(txn: txn, response: response) end end end end
Version data entries
17 entries across 17 versions & 1 rubygems