Small unit test rewrite

This commit is contained in:
Roeland Jago Douma 2015-02-12 17:05:59 +01:00
parent e952687dcd
commit ecb7d44775
1 changed files with 1 additions and 1 deletions

View File

@ -435,7 +435,7 @@ describe('OC.Share tests', function() {
expect(avatarStub.calledOnce).toEqual(true);
var args = avatarStub.getCall(0).args;
expect($('#avatar-user1')[0]).toEqual(jasmine.anything());
expect($('#avatar-user1').length).toEqual(1);
expect(args.length).toEqual(2);
expect(args[0]).toEqual('user1');
});