test/test_contact_importer.rb in cloudsponge-0.9.11 vs test/test_contact_importer.rb in cloudsponge-0.9.12
- old
+ new
@@ -12,9 +12,25 @@
importer = Cloudsponge::ContactImporter.new(DOMAIN_KEY, DOMAIN_PASSWORD)
importer.begin_import('PLAXO', 'u', 'p')
contacts = events_wait(importer)
assert contacts
end
+
+ def test_aol_import
+ importer = Cloudsponge::ContactImporter.new(DOMAIN_KEY, DOMAIN_PASSWORD)
+ resp = importer.begin_import('AOL', 'u', 'p')
+ puts "Navigate to #{resp[:consent_url]} and complete the authentication process." if resp[:consent_url]
+ contacts = events_wait(importer)
+ assert contacts
+ end
+
+ def test_wl_import
+ importer = Cloudsponge::ContactImporter.new(DOMAIN_KEY, DOMAIN_PASSWORD)
+ resp = importer.begin_import('WINDOWSLIVE')
+ puts "Navigate to #{resp[:consent_url]} and complete the authentication process." if resp[:consent_url]
+ contacts = events_wait(importer)
+ assert contacts
+ end
def test_auth_import
importer = Cloudsponge::ContactImporter.new(DOMAIN_KEY, DOMAIN_PASSWORD)
resp = importer.begin_import('YAHOO')
puts "Navigate to #{resp[:consent_url]} and complete the authentication process."