diff options
author | Vincent Petry <pvince81@owncloud.com> | 2014-07-09 12:26:33 +0200 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2014-07-09 12:26:33 +0200 |
commit | 22653e21a239afa8f29cf2c93afe28d21246e7ba (patch) | |
tree | cacee44aabacafe6ce35ce82a4e62afa7cdaab1e /apps/files/tests/js/appSpec.js | |
parent | 63fdaacbfcc8dbccca6777d623b6baadbd0ed56b (diff) | |
download | nextcloud-server-22653e21a239afa8f29cf2c93afe28d21246e7ba.tar.gz nextcloud-server-22653e21a239afa8f29cf2c93afe28d21246e7ba.zip |
Propagate file action changes to the file lists
Whenever an app needs to register an event late, it does that on the
original file actions object.
Since the file actions that the file list work on is a merged list, not
the original one, the registration event needs to be propagated there as
well.
Diffstat (limited to 'apps/files/tests/js/appSpec.js')
-rw-r--r-- | apps/files/tests/js/appSpec.js | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/apps/files/tests/js/appSpec.js b/apps/files/tests/js/appSpec.js index 99a73d0b01d..77d36d59fa9 100644 --- a/apps/files/tests/js/appSpec.js +++ b/apps/files/tests/js/appSpec.js @@ -52,9 +52,7 @@ describe('OCA.Files.App tests', function() { App.initialize(); }); afterEach(function() { - App.navigation = null; - App.fileList = null; - App.files = null; + App.destroy(); pushStateStub.restore(); parseUrlQueryStub.restore(); |