summaryrefslogtreecommitdiffstats
path: root/apps/files_versions
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2015-10-02 14:11:46 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2015-10-02 14:11:46 +0200
commit594a3e4e22223389a306acad4e3921027decad96 (patch)
tree2f01ea64c8f09fc87448648e3a5def8c6fbec399 /apps/files_versions
parent4fb2ef3bacf2ae8eeac0b5bebecd98b90cca5511 (diff)
parent4b3a5a257f0861db23b8d97836afdf398b3fef9a (diff)
downloadnextcloud-server-594a3e4e22223389a306acad4e3921027decad96.tar.gz
nextcloud-server-594a3e4e22223389a306acad4e3921027decad96.zip
Merge pull request #19523 from owncloud/fix-seconds-ago
Fix moment.js "a few seconds ago" with "seconds ago"
Diffstat (limited to 'apps/files_versions')
-rw-r--r--apps/files_versions/tests/js/versionstabviewSpec.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_versions/tests/js/versionstabviewSpec.js b/apps/files_versions/tests/js/versionstabviewSpec.js
index 4435f38ef7e..306dd66be2a 100644
--- a/apps/files_versions/tests/js/versionstabviewSpec.js
+++ b/apps/files_versions/tests/js/versionstabviewSpec.js
@@ -76,7 +76,7 @@ describe('OCA.Versions.VersionsTabView', function() {
expect($versions.length).toEqual(2);
var $item = $versions.eq(0);
expect($item.find('.downloadVersion').attr('href')).toEqual(version1.getDownloadUrl());
- expect($item.find('.versiondate').text()).toEqual('a few seconds ago');
+ expect($item.find('.versiondate').text()).toEqual('seconds ago');
expect($item.find('.revertVersion').length).toEqual(1);
expect($item.find('.preview').attr('src')).toEqual(version1.getPreviewUrl());