fix js unit tests

This commit is contained in:
Morris Jobke 2016-01-06 20:06:04 +01:00
parent dbafec0c28
commit 06708cc172

View file

@ -254,13 +254,13 @@ describe('OCA.External.Settings tests', function() {
// defaults to true
var $field = $td.find('.dropdown [name=previews]');
expect($field.prop('checked')).toEqual(true);
$td.find('.dropdown [name=filesystem_check_changes]').val(2);
$td.find('.dropdown [name=filesystem_check_changes]').val(0);
$('body').mouseup();
expect(JSON.parse($tr.find('input.mountOptions').val())).toEqual({
encrypt: true,
previews: true,
filesystem_check_changes: 2
filesystem_check_changes: 0
});
});
});