Sha256: 0661685f8de9ec0a2d8ed85f0a9d060fb585f6bf612e29b292dcc3aa11c50b2b

Contents?: true

Size: 524 Bytes

Versions: 3

Compression:

Stored size: 524 Bytes

Contents

require 'spec_helper'

module GoTransverseTractApi

  RSpec.describe GeneralLedger::GLAggregateBatch do
    before(:each) { http_auth }

    let(:eid) { '4096' }
    let(:response) { '<?xml version="1.0" encoding="UTF-8" standalone="yes"?>' }

    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

3 entries across 3 versions & 1 rubygems

Version Path
gotransverse-tract-api-0.5.2 spec/gotransverse-tract-api/general_ledger/gl_aggregate_batch_spec.rb
gotransverse-tract-api-0.5.1 spec/gotransverse-tract-api/general_ledger/gl_aggregate_batch_spec.rb
gotransverse-tract-api-0.5.0 spec/gotransverse-tract-api/general_ledger/gl_aggregate_batch_spec.rb