mirror of
https://github.com/cnodejs/nodeclub.git
synced 2025-12-08 19:55:55 +00:00
9 lines
326 B
JavaScript
9 lines
326 B
JavaScript
var UserModel = require('../../models').User;
|
|
|
|
describe('test/models/user.test.js', function () {
|
|
it('should return proxy avatar url', function () {
|
|
var user = new UserModel({email: 'alsotang@gmail.com'});
|
|
user.avatar_url.should.eql('https://gravatar.com/avatar/eeb90e7b92f78e01cac07087165e3640?size=48');
|
|
});
|
|
});
|