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

Version Path
gotransverse-tract-api-0.24.0 spec/gotransverse-tract-api/general_ledger/gl_aggregate_batch_spec.rb
gotransverse-tract-api-0.23.0 spec/gotransverse-tract-api/general_ledger/gl_aggregate_batch_spec.rb
gotransverse-tract-api-0.22.1 spec/gotransverse-tract-api/general_ledger/gl_aggregate_batch_spec.rb
gotransverse-tract-api-0.22.0 spec/gotransverse-tract-api/general_ledger/gl_aggregate_batch_spec.rb
gotransverse-tract-api-0.21.1 spec/gotransverse-tract-api/general_ledger/gl_aggregate_batch_spec.rb
gotransverse-tract-api-0.21.0 spec/gotransverse-tract-api/general_ledger/gl_aggregate_batch_spec.rb
gotransverse-tract-api-0.20.3 spec/gotransverse-tract-api/general_ledger/gl_aggregate_batch_spec.rb
gotransverse-tract-api-0.20.2 spec/gotransverse-tract-api/general_ledger/gl_aggregate_batch_spec.rb
gotransverse-tract-api-0.20.1 spec/gotransverse-tract-api/general_ledger/gl_aggregate_batch_spec.rb
gotransverse-tract-api-0.20.0 spec/gotransverse-tract-api/general_ledger/gl_aggregate_batch_spec.rb
gotransverse-tract-api-0.19.0 spec/gotransverse-tract-api/general_ledger/gl_aggregate_batch_spec.rb
gotransverse-tract-api-0.18.3 spec/gotransverse-tract-api/general_ledger/gl_aggregate_batch_spec.rb
gotransverse-tract-api-0.18.2 spec/gotransverse-tract-api/general_ledger/gl_aggregate_batch_spec.rb
gotransverse-tract-api-0.18.1 spec/gotransverse-tract-api/general_ledger/gl_aggregate_batch_spec.rb
gotransverse-tract-api-0.18.0 spec/gotransverse-tract-api/general_ledger/gl_aggregate_batch_spec.rb
gotransverse-tract-api-0.17.2 spec/gotransverse-tract-api/general_ledger/gl_aggregate_batch_spec.rb
gotransverse-tract-api-0.17.1 spec/gotransverse-tract-api/general_ledger/gl_aggregate_batch_spec.rb
gotransverse-tract-api-0.17.0 spec/gotransverse-tract-api/general_ledger/gl_aggregate_batch_spec.rb
gotransverse-tract-api-0.16.0 spec/gotransverse-tract-api/general_ledger/gl_aggregate_batch_spec.rb
gotransverse-tract-api-0.15.0 spec/gotransverse-tract-api/general_ledger/gl_aggregate_batch_spec.rb