Test stabilization: Clearbit return value varies for APIHub Organization.
This commit is contained in:
parent
213f2d153f
commit
02d0802099
1 changed files with 1 additions and 2 deletions
|
@ -278,8 +278,7 @@ class ClearbitTest < ActiveSupport::TestCase
|
||||||
]
|
]
|
||||||
assert_includes(sometimes_changing_but_valid_addresses, customer6.address)
|
assert_includes(sometimes_changing_but_valid_addresses, customer6.address)
|
||||||
|
|
||||||
organization6 = Organization.find_by(name: 'APIHub, Inc.')
|
organization6 = Organization.find_by('name LIKE ?', 'APIHub, Inc%')
|
||||||
#assert_nil(organization6, 'unable to find org of user')
|
|
||||||
assert(ExternalSync.find_by(source: 'clearbit', object: 'Organization', o_id: organization6.id))
|
assert(ExternalSync.find_by(source: 'clearbit', object: 'Organization', o_id: organization6.id))
|
||||||
assert_equal(false, organization6.shared)
|
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_equal('Clearbit provides powerful products and data APIs to help your business grow. Contact enrichment, lead generation, financial compliance, and more...', organization6.note)
|
||||||
|
|
Loading…
Reference in a new issue