Sha256: d5605ba56f28652361b1d42d0ccb6ed3936bb480b892717e0974978fe8fcc9cd

Contents?: true

Size: 399 Bytes

Versions: 1

Compression:

Stored size: 399 Bytes

Contents

#
# contact_list_spec.rb
# ConstantContact
#
# Copyright (c) 2013 Constant Contact. All rights reserved.

require 'spec_helper'

describe ConstantContact::Components::ContactList do
	describe "#from_list" do
		it "should return a list" do
			json = load_json('list.json')
			list = ConstantContact::Components::ContactList.create(JSON.parse(json))

			list.name.should eq('Fake List')
		end
	end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
constantcontact-1.0.0 spec/constantcontact/components/contacts/contact_list_spec.rb