aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2015-02-12 17:05:59 +0100
committerRoeland Jago Douma <roeland@famdouma.nl>2015-02-12 17:05:59 +0100
commitecb7d4477525942d6104168f9361337247af9c48 (patch)
treeb3637b7e8a298118cc36abd5cf84036b467dcadf /core
parente952687dcdd5d5da7f081a7b1fea38fb9937d259 (diff)
downloadnextcloud-server-ecb7d4477525942d6104168f9361337247af9c48.tar.gz
nextcloud-server-ecb7d4477525942d6104168f9361337247af9c48.zip
Small unit test rewrite
Diffstat (limited to 'core')
-rw-r--r--core/js/tests/specs/shareSpec.js2
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');
});