Sha256: a4df8618f36c1381fb05564b61d4477c9983de8badb052f8a12caeac645bd35c
Contents?: true
Size: 399 Bytes
Versions: 1
Compression:
Stored size: 399 Bytes
Contents
# # contact_spec.rb # ConstantContact # # Copyright (c) 2013 Constant Contact. All rights reserved. require 'spec_helper' describe ConstantContact::Components::Contact do describe "#from_list" do it "should return a contact" do json = load_json('contact.json') contact = ConstantContact::Components::Contact.create(JSON.parse(json)) contact.last_name.should eq('Smith') end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
constantcontact-1.0.0 | spec/constantcontact/components/contacts/contact_spec.rb |