DEV: Fix tests and reimplement title decryption debounce.

DEV: Fix tests and reimplement title decryption debounce.

Follow-up to 3830eb3.

diff --git a/assets/javascripts/discourse/initializers/hook-decrypt-topic.js.es6 b/assets/javascripts/discourse/initializers/hook-decrypt-topic.js.es6
index 1a463d3..63cac0c 100644
--- a/assets/javascripts/discourse/initializers/hook-decrypt-topic.js.es6
+++ b/assets/javascripts/discourse/initializers/hook-decrypt-topic.js.es6
@@ -71,7 +71,9 @@ export default {
     var self = this;
     Ember.Component.reopen({
       didRender() {
-        Ember.run.debounce(self, decryptTitles, 500);
+        Ember.run.scheduleOnce("afterRender", self, () => {
+          Ember.run.debounce(self, decryptTitles, 500);
+        });
         return this._super(...arguments);
       }
     });

GitHub sha: e390f482