Sha256: ca5090b1dad4b4020506701d6eb30a0a2f17e9e52262c8c48dbc1ea2f23f4b28
Contents?: true
Size: 509 Bytes
Versions: 47
Compression:
Stored size: 509 Bytes
Contents
require 'spec_helper' module GoTransverseTractApi RSpec.describe BillingAccount::Counter do before(:each) { http_auth } let(:eid) { '4096' } let(:response) { {a: 'b', c: 'd'} } 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
47 entries across 47 versions & 1 rubygems