Skip to content
Snippets Groups Projects
Commit ecb7d447 authored by Roeland Jago Douma's avatar Roeland Jago Douma
Browse files

Small unit test rewrite

parent e952687d
No related branches found
No related tags found
No related merge requests found
......@@ -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');
});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment