Sha256: 4b0bd6f666cdb513e2cded3b32b6949c221f5989301fc3707aed154c2304278b
Contents?: true
Size: 484 Bytes
Versions: 47
Compression:
Stored size: 484 Bytes
Contents
require 'spec_helper' module GoTransverseTractApi RSpec.describe GeneralLedger::GLAggregateBatch do before(:each) { http_auth } let(:eid) { '4096' } let(:response) { {a: 'b', c: 'd'} } context ".update" do it "updates an aggregate batch" do data = { eid: eid, exported: 'true' } allow(subject).to receive(:update).with(eid, data).and_return(response) expect(subject.update(eid, data)).to eq(response) end end end end
Version data entries
47 entries across 47 versions & 1 rubygems