Sha256: 950e32e90825a4516a4778c09d38f42ac7d7d5e636b5429a7061c476211428a5
Contents?: true
Size: 414 Bytes
Versions: 14
Compression:
Stored size: 414 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_file('contact.json') contact = ConstantContact::Components::Contact.create(JSON.parse(json)) contact.last_name.should eq('Smith') end end end
Version data entries
14 entries across 14 versions & 2 rubygems