Sha256: e63da16037088a018e52d14965e32de68d5135d5961ed2f9b2f4badc0a2ef7fb

Contents?: true

Size: 396 Bytes

Versions: 8

Compression:

Stored size: 396 Bytes

Contents

require 'test_helper'

class Salesforce::ContactTest < ActiveSupport::TestCase
  def test_should_return_contacts
    # see 'test_helper.rb' for USERID, PASSWORD, and SECURITY_TOKEN
    # Salesforce::SfBase.login(USERID, PASSWORD, SECURITY_TOKEN)
    user = Salesforce::User.first

    contacts = Array.new
    contacts = Salesforce::Contact.find(:all).count
    assert_not_nil contacts
  end

end

Version data entries

8 entries across 8 versions & 2 rubygems

Version Path
asf-soap-adapter-1.3.1 test/asf-soap-adapter-rails-app/test/unit/salesforce/contact_test.rb
asf-soap-adapter-1.3.0 test/asf-soap-adapter-rails-app/test/unit/salesforce/contact_test.rb
asf-soap-adapter-1.1.0 test/asf-soap-adapter-rails-app/test/unit/salesforce/contact_test.rb
asf-soap-adapter-1.0.4 test/asf-soap-adapter-rails-app/test/unit/salesforce/contact_test.rb
ryandotsmith-asf-soap-adapter-1.0.3 test/asf-soap-adapter-rails-app/test/unit/salesforce/contact_test.rb
asf-soap-adapter-1.0.2 test/asf-soap-adapter-rails-app/test/unit/salesforce/contact_test.rb
asf-soap-adapter-1.0.1 test/asf-soap-adapter-rails-app/test/unit/salesforce/contact_test.rb
asf-soap-adapter-1.0.0 test/asf-soap-adapter-rails-app/test/unit/salesforce/contact_test.rb