Sha256: 9e91f2c2c50ead676a699726efeb6f1fba1e67410d0171090ac085c4a2cf01e9
Contents?: true
Size: 581 Bytes
Versions: 1
Compression:
Stored size: 581 Bytes
Contents
# frozen_string_literal: true # encoding: UTF-8 require "spec_helper" describe Aba do describe ".batch" do it "initialize instance of Aba::Batch with passed arguments" do attributes = double.as_null_object transactions = double.as_null_object expect(Aba::Batch).to receive(:new).with(attributes, transactions) described_class.batch(attributes, transactions) end it "returns instance of Aba::Batch" do obj = described_class.batch(double.as_null_object, double.as_null_object) expect(obj).to be_a(Aba::Batch) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
aba-1.0.2 | spec/lib/aba_spec.rb |