Sha256: 6ed19c1480ce82269c4c4c13c8a8c056fba4e1e6003ec021e6705cba842f8dad
Contents?: true
Size: 413 Bytes
Versions: 15
Compression:
Stored size: 413 Bytes
Contents
require 'spec_helper' describe CiviCrm::Contact do it { should be_listable_resource } #it { should be_updatable_resource } it "should return contact on create" do client = authorized_civicrm_client expect(client). to receive(:post). exactly(:once). and_return(test_response(test_contact)) expect(CiviCrm::Contact.create).to be_a_kind_of(CiviCrm::Contact) end end
Version data entries
15 entries across 15 versions & 1 rubygems