summaryrefslogtreecommitdiffstats
path: root/apps/files/tests/js
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2014-12-15 15:18:29 +0100
committerVincent Petry <pvince81@owncloud.com>2014-12-15 15:18:29 +0100
commit33eb4483b297d12b7cb76e5a3df25f2d641a96cb (patch)
tree93d80be2752c3eccee60f2160821bd69bd5e4375 /apps/files/tests/js
parentfb220a1e09fdc8a6a932567eaaba4639aa150e2e (diff)
downloadnextcloud-server-33eb4483b297d12b7cb76e5a3df25f2d641a96cb.tar.gz
nextcloud-server-33eb4483b297d12b7cb76e5a3df25f2d641a96cb.zip
Fixed has-favorites CSS
Diffstat (limited to 'apps/files/tests/js')
-rw-r--r--apps/files/tests/js/tagspluginspec.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/files/tests/js/tagspluginspec.js b/apps/files/tests/js/tagspluginspec.js
index 424017a9dc6..66240575a5c 100644
--- a/apps/files/tests/js/tagspluginspec.js
+++ b/apps/files/tests/js/tagspluginspec.js
@@ -71,6 +71,9 @@ describe('OCA.Files.TagsPlugin tests', function() {
expect($tr.attr('data-tags').split('|')).toEqual(['tag1', 'tag2', OC.TAG_FAVORITE]);
expect($tr.attr('data-favorite')).toEqual('true');
});
+ it('adds has-favorites class on table', function() {
+ expect(fileList.$el.hasClass('has-favorites')).toEqual(true);
+ });
});
describe('Applying tags', function() {
it('sends request to server and updates icon', function() {