Sha256: d3494a13fda91d589d223e8f2595f3f3879439ab1af0536db5e68219cd70cbb0

Contents?: true

Size: 414 Bytes

Versions: 2

Compression:

Stored size: 414 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

2 entries across 2 versions & 1 rubygems

Version Path
constantcontact-1.0.2 spec/constantcontact/components/contacts/contact_list_spec.rb
constantcontact-1.0.1 spec/constantcontact/components/contacts/contact_list_spec.rb