aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2015-10-02 10:16:21 +0200
committerMorris Jobke <hey@morrisjobke.de>2015-10-02 10:51:51 +0200
commit4b3a5a257f0861db23b8d97836afdf398b3fef9a (patch)
tree0b0274cae73c0b90c604c705cb547c6d50d0ff17 /apps/files
parent3dec30d0e09128002f24f58b7ea042c42defce31 (diff)
downloadnextcloud-server-4b3a5a257f0861db23b8d97836afdf398b3fef9a.tar.gz
nextcloud-server-4b3a5a257f0861db23b8d97836afdf398b3fef9a.zip
Fix moment.js "a few seconds ago" with "seconds ago"
* fixes #18627
Diffstat (limited to 'apps/files')
-rw-r--r--apps/files/tests/js/mainfileinfodetailviewSpec.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/tests/js/mainfileinfodetailviewSpec.js b/apps/files/tests/js/mainfileinfodetailviewSpec.js
index 2b9e2b23f93..f4403196f2e 100644
--- a/apps/files/tests/js/mainfileinfodetailviewSpec.js
+++ b/apps/files/tests/js/mainfileinfodetailviewSpec.js
@@ -58,7 +58,7 @@ describe('OCA.Files.MainFileInfoDetailView tests', function() {
expect(view.$el.find('.fileName h3').attr('title')).toEqual('One.txt');
expect(view.$el.find('.size').text()).toEqual('117.7 MB');
expect(view.$el.find('.size').attr('title')).toEqual('123456789 bytes');
- expect(view.$el.find('.date').text()).toEqual('a few seconds ago');
+ expect(view.$el.find('.date').text()).toEqual('seconds ago');
expect(view.$el.find('.date').attr('title')).toEqual(dateExpected);
clock.restore();
});