From 2f7f9bb183a9260cf08b16cf84f2b715e1753249 Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Wed, 18 Apr 2018 11:20:27 +0200 Subject: [PATCH] Adopted test with new live api behaviour. --- test/integration/clearbit_test.rb | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/test/integration/clearbit_test.rb b/test/integration/clearbit_test.rb index 1b4f42c2e..5f069db1d 100644 --- a/test/integration/clearbit_test.rb +++ b/test/integration/clearbit_test.rb @@ -269,15 +269,16 @@ class ClearbitTest < ActiveSupport::TestCase assert_equal('', customer6.firstname) assert_equal('', customer6.lastname) assert_equal('', customer6.note) - assert_equal('http://clearbit.com', customer6.web) + assert_equal('', customer6.web) + #assert_equal('http://clearbit.com', customer6.web) assert_equal('3030 16th St, San Francisco, CA 94103, USA', customer6.address) #assert_equal('San Francisco, CA, USA', customer6.address) organization6 = Organization.find_by(name: 'APIHub, Inc') - assert(organization6, 'unable to find org of user') - assert(ExternalSync.find_by(source: 'clearbit', object: 'Organization', o_id: organization6.id)) - assert_equal(false, organization6.shared) - assert_equal('Clearbit provides powerful products and data APIs to help your business grow. Contact enrichment, lead generation, financial compliance, and more...', organization6.note) + assert_nil(organization6, 'unable to find org of user') + #assert(ExternalSync.find_by(source: 'clearbit', object: 'Organization', o_id: organization6.id)) + #assert_equal(false, organization6.shared) + #assert_equal('Clearbit provides powerful products and data APIs to help your business grow. Contact enrichment, lead generation, financial compliance, and more...', organization6.note) end