Commit 758c4040 by lome

Tests on person.facebookId method

parent a72af591
...@@ -86,7 +86,7 @@ Person.prototype.facebook = function facebook() { ...@@ -86,7 +86,7 @@ Person.prototype.facebook = function facebook() {
* Retrieve contact information by Facebook id. * Retrieve contact information by Facebook id.
* *
* ```js * ```js
* fullcontact.person.facebookId('651620441', [queue], fn); * fullcontact.person.facebookId('1844599060', [queue], fn);
* ``` * ```
* *
* @returns {Person} * @returns {Person}
......
...@@ -59,6 +59,14 @@ describe('FullContact.Person', function () { ...@@ -59,6 +59,14 @@ describe('FullContact.Person', function () {
it('provides the proper casing'); it('provides the proper casing');
}); });
describe('#facebookId', function () {
it('retrieves data by facebook id', function (done) {
api.person.facebookId('1844599060', done);
});
it('provides the proper casing');
});
describe('#phone', function () { describe('#phone', function () {
it('retrieves data by phone number'); it('retrieves data by phone number');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment