Sha256: b5641328495316d527c7f3244b6a216d610709859ee8868eb66c43342dca8b09
Contents?: true
Size: 549 Bytes
Versions: 3
Compression:
Stored size: 549 Bytes
Contents
require 'spec_helper' module GoTransverseTractApi RSpec.describe BillingAccount::Counter do before(:each) { http_auth } let(:eid) { '4096' } let(:response) { '<?xml version="1.0" encoding="UTF-8" standalone="yes"?>' } context ".update_usage_charge" do it "updates a usage event" do data = { eid: '4', charge: '77735' } allow(subject).to receive(:update_usage_charge).with(eid, data).and_return(response) expect(subject.update_usage_charge(eid, data)).to eq(response) end end end end
Version data entries
3 entries across 3 versions & 1 rubygems