diff options
author | Tom Needham <tom@owncloud.com> | 2015-10-21 13:30:42 +0000 |
---|---|---|
committer | Tom Needham <tom@owncloud.com> | 2015-10-21 13:30:42 +0000 |
commit | e3ae453ee5af1f6e3cce3523ded727ba9a0cfcbc (patch) | |
tree | 17b0966f82c318bc535db92b81f60d309a56780b | |
parent | 8a6d22d7514ffebc01c7c96513042c9ec3573334 (diff) | |
download | nextcloud-server-e3ae453ee5af1f6e3cce3523ded727ba9a0cfcbc.tar.gz nextcloud-server-e3ae453ee5af1f6e3cce3523ded727ba9a0cfcbc.zip |
Fix line lengths in share dialog unit tests
-rw-r--r-- | core/js/tests/specs/sharedialogviewSpec.js | 10 |
1 files 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($("<ul></ul>"), {label: "1", value: { shareType: OC.Share.SHARE_TYPE_GROUP }}); + var el = dialog.autocompleteRenderItem( + $("<ul></ul>"), + {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($("<ul></ul>"), {label: "1", value: { shareType: OC.Share.SHARE_TYPE_REMOTE }}); + var el = dialog.autocompleteRenderItem( + $("<ul></ul>"), + {label: "1", value: { shareType: OC.Share.SHARE_TYPE_REMOTE }} + ); expect(el.is('li')).toEqual(true); expect(el.hasClass('user')).toEqual(true); }); |