Small unit test rewrite
This commit is contained in:
parent
e952687dcd
commit
ecb7d44775
|
@ -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');
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue