We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a5dcf9b + 0957def commit 20e8e38Copy full SHA for 20e8e38
spec/unit/intercom/contact_spec.rb
@@ -15,6 +15,12 @@
15
client.contacts.create
16
end
17
18
+ it 'can update a contact with an id' do
19
+ contact = Intercom::Contact.new(:id => "de45ae78gae1289cb")
20
+ client.expects(:put).with("/contacts/de45ae78gae1289cb", {'custom_attributes' => {}})
21
+ client.contacts.save(contact)
22
+ end
23
+
24
describe 'converting' do
25
let(:contact) { Intercom::Contact.from_api(user_id: 'contact_id') }
26
let(:user) { Intercom::User.from_api(id: 'user_id') }
0 commit comments