diff options
Diffstat (limited to 'apps/files/tests')
-rw-r--r-- | apps/files/tests/js/fileactionsmenuSpec.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/tests/js/fileactionsmenuSpec.js b/apps/files/tests/js/fileactionsmenuSpec.js index f171f2848f8..2d31f24a1b3 100644 --- a/apps/files/tests/js/fileactionsmenuSpec.js +++ b/apps/files/tests/js/fileactionsmenuSpec.js @@ -203,7 +203,7 @@ describe('OCA.Files.FileActionsMenu tests', function() { expect(displayNameStub.calledOnce).toEqual(true); expect(displayNameStub.calledWith(menuContext)).toEqual(true); - expect(menu.$el.find('a[data-action=Something]').text()).toEqual('Test'); + expect(menu.$el.find('a[data-action=Something] span:not(.icon)').text()).toEqual('Test'); }); it('uses plain iconClass', function() { fileActions.registerAction({ |