Sha256: 16b2c018fc4f799e17186ce21fc206fe2eea28e877ec8a2d8cafc4a38442326d
Contents?: true
Size: 495 Bytes
Versions: 28
Compression:
Stored size: 495 Bytes
Contents
require 'spec_helper' module GoTransverseTractApi RSpec.describe Order::People do before(:each) { http_auth } let(:eid) { '4096' } let(:response) { {a: 'b', c: 'd'} } context ".update" do it "updates a person details" do data = { eid: eid, name: 'John Smith', tax_id_number: '124224242' } 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
28 entries across 28 versions & 1 rubygems