diff options
Diffstat (limited to 'core/js/tests/specs/shareSpec.js')
-rw-r--r-- | core/js/tests/specs/shareSpec.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/js/tests/specs/shareSpec.js b/core/js/tests/specs/shareSpec.js index 21d93d4a4b0..189c77b5ba7 100644 --- a/core/js/tests/specs/shareSpec.js +++ b/core/js/tests/specs/shareSpec.js @@ -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'); }); |