summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2014-11-19 17:44:05 +0100
committerVincent Petry <pvince81@owncloud.com>2014-11-19 17:44:05 +0100
commit63fa8ec69abd9d0ae4435728023257f2685acb5d (patch)
tree9c552eeccc379fdac28590f1d16c3d07bee1218e /apps/files_sharing
parent98ec0451be1d1ddd76b53195c96a545239e24da1 (diff)
downloadnextcloud-server-63fa8ec69abd9d0ae4435728023257f2685acb5d.tar.gz
nextcloud-server-63fa8ec69abd9d0ae4435728023257f2685acb5d.zip
JSHint fixes in sharedfilelistSpec unit test file
Diffstat (limited to 'apps/files_sharing')
-rw-r--r--apps/files_sharing/tests/js/sharedfilelistSpec.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/files_sharing/tests/js/sharedfilelistSpec.js b/apps/files_sharing/tests/js/sharedfilelistSpec.js
index 61302ae2c1d..dc6931af6e8 100644
--- a/apps/files_sharing/tests/js/sharedfilelistSpec.js
+++ b/apps/files_sharing/tests/js/sharedfilelistSpec.js
@@ -436,6 +436,7 @@ describe('OCA.Sharing.FileList tests', function() {
fileList.reload();
+ /* jshint camelcase: false */
ocsResponse = {
ocs: {
meta: {
@@ -641,7 +642,8 @@ describe('OCA.Sharing.FileList tests', function() {
}]);
$tr = fileList.$el.find('tr:first');
- expect(parseInt($tr.attr('data-share-permissions'), 10)).toEqual(OC.PERMISSION_ALL - OC.PERMISSION_SHARE - OC.PERMISSION_DELETE);
+ expect(parseInt($tr.attr('data-share-permissions'), 10))
+ .toEqual(OC.PERMISSION_ALL - OC.PERMISSION_SHARE - OC.PERMISSION_DELETE);
});
});
});