Sha256: 824fb2a93b60ed07e47dee3fe79603b46e1e4cde595ea0b38d5925ff843d86f0
Contents?: true
Size: 363 Bytes
Versions: 4
Compression:
Stored size: 363 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 client.expects(:post).once.returns(test_response(test_contact)) c = CiviCrm::Contact.create c.should be_a_kind_of(CiviCrm::Contact) end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
civicrm-1.0.5 | spec/resources/contact_spec.rb |
civicrm-1.0.4 | spec/resources/contact_spec.rb |
civicrm-1.0.2 | spec/resources/contact_spec.rb |
civicrm-1.0.1 | spec/resources/contact_spec.rb |