From e3ae453ee5af1f6e3cce3523ded727ba9a0cfcbc Mon Sep 17 00:00:00 2001 From: Tom Needham Date: Wed, 21 Oct 2015 13:30:42 +0000 Subject: Fix line lengths in share dialog unit tests --- core/js/tests/specs/sharedialogviewSpec.js | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/core/js/tests/specs/sharedialogviewSpec.js b/core/js/tests/specs/sharedialogviewSpec.js index ba5954c5d8e..0117f517d4c 100644 --- a/core/js/tests/specs/sharedialogviewSpec.js +++ b/core/js/tests/specs/sharedialogviewSpec.js @@ -735,14 +735,20 @@ describe('OC.Share.ShareDialogView', function() { describe('renders the autocomplete elements', function() { it('renders a group element', function() { dialog.render(); - var el = dialog.autocompleteRenderItem($(""), {label: "1", value: { shareType: OC.Share.SHARE_TYPE_GROUP }}); + var el = dialog.autocompleteRenderItem( + $(""), + {label: "1", value: { shareType: OC.Share.SHARE_TYPE_GROUP }} + ); expect(el.is('li')).toEqual(true); expect(el.hasClass('group')).toEqual(true); }); it('renders a remote element', function() { dialog.render(); - var el = dialog.autocompleteRenderItem($(""), {label: "1", value: { shareType: OC.Share.SHARE_TYPE_REMOTE }}); + var el = dialog.autocompleteRenderItem( + $(""), + {label: "1", value: { shareType: OC.Share.SHARE_TYPE_REMOTE }} + ); expect(el.is('li')).toEqual(true); expect(el.hasClass('user')).toEqual(true); }); -- cgit v1.2.3