Skip to content

Commit ecb7d44

Browse files
committed
Small unit test rewrite
1 parent e952687 commit ecb7d44

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/js/tests/specs/shareSpec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -435,7 +435,7 @@ describe('OC.Share tests', function() {
435435
expect(avatarStub.calledOnce).toEqual(true);
436436
var args = avatarStub.getCall(0).args;
437437

438-
expect($('#avatar-user1')[0]).toEqual(jasmine.anything());
438+
expect($('#avatar-user1').length).toEqual(1);
439439
expect(args.length).toEqual(2);
440440
expect(args[0]).toEqual('user1');
441441
});

0 commit comments

Comments
 (0)