From 10b85871cc05918c795c57300edca219282daec1 Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Thu, 2 Apr 2015 18:17:28 +0200 Subject: adjust unt tests --- apps/files_external/tests/js/settingsSpec.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'apps/files_external/tests/js/settingsSpec.js') diff --git a/apps/files_external/tests/js/settingsSpec.js b/apps/files_external/tests/js/settingsSpec.js index f030965835a..c5181737b31 100644 --- a/apps/files_external/tests/js/settingsSpec.js +++ b/apps/files_external/tests/js/settingsSpec.js @@ -85,7 +85,7 @@ describe('OCA.External.Settings tests', function() { beforeEach(function() { var $el = $('#externalStorage'); - view = new OCA.External.Settings.MountConfigListView($el); + view = new OCA.External.Settings.MountConfigListView($el, {encryptionEnabled: false}); }); afterEach(function() { view = null; @@ -226,6 +226,7 @@ describe('OCA.External.Settings tests', function() { $('body').mouseup(); expect(JSON.parse($tr.find('input.mountOptions').val())).toEqual({ + encrypt: true, previews: true, filesystem_check_changes: 2 }); -- cgit v1.2.3