diff options
-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); }); |