From 33eb4483b297d12b7cb76e5a3df25f2d641a96cb Mon Sep 17 00:00:00 2001 From: Vincent Petry Date: Mon, 15 Dec 2014 15:18:29 +0100 Subject: Fixed has-favorites CSS --- apps/files/tests/js/tagspluginspec.js | 3 +++ 1 file changed, 3 insertions(+) (limited to 'apps/files/tests/js') 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() { -- cgit v1.2.3