Sha256: ab7330b327b04f7561adf31c53a89c5cf70529f93cd07e84f11ea2a1aaee9b97

Contents?: true

Size: 415 Bytes

Versions: 11

Compression:

Stored size: 415 Bytes

Contents

require 'helper'

class TestAssociationCollection < Test::Unit::TestCase
  context "A SugarCRM::AssociationCollection instance" do
    should "create a new instance when #new" do
      SugarCRM.connect!(URL, USER, PASS)
      u   = SugarCRM::User.find("seed_sarah_id")
      ac  = SugarCRM::AssociationCollection.new(u,:email_addresses)
      assert_instance_of SugarCRM::AssociationCollection, ac
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
sugarcrm-0.9.10 test/test_association_collection.rb
sugarcrm-0.9.9 test/test_association_collection.rb
sugarcrm-0.9.8 test/test_association_collection.rb
sugarcrm-0.9.7 test/test_association_collection.rb
sugarcrm-0.9.6 test/test_association_collection.rb
sugarcrm-0.9.5 test/test_association_collection.rb
sugarcrm-0.9.4 test/test_association_collection.rb
sugarcrm-0.9.3 test/test_association_collection.rb
sugarcrm-0.9.2 test/test_association_collection.rb
sugarcrm-0.9.1 test/test_association_collection.rb
sugarcrm-0.9.0 test/test_association_collection.rb