Sha256: da52b0c72355f2abdb4614f9004dbd91738f56aac33d1ad95a568847049dbcb4
Contents?: true
Size: 521 Bytes
Versions: 3
Compression:
Stored size: 521 Bytes
Contents
require 'spec_helper' module GoTransverseTractApi RSpec.describe GeneralLedger::GLTransactionBatch do before(:each) { http_auth } let(:eid) { '4096' } let(:response) { '<?xml version="1.0" encoding="UTF-8" standalone="yes"?>' } context ".update" do it "updates a transaction" 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
3 entries across 3 versions & 1 rubygems