A platform for community discussion. Free, open, simple.
DEV: ensures CustomEmoji cache is cleared after spec (#9361)
Joffrey JAFFEUXb248c553c26a
diff --git a/spec/components/plugin/instance_spec.rb b/spec/components/plugin/instance_spec.rbindex 6453339706c..26dd0d39c7f 100644--- a/spec/components/plugin/instance_spec.rb+++ b/spec/components/plugin/instance_spec.rb@@ -544,6 +544,10 @@ describe Plugin::Instance doPlugin::CustomEmoji.clear_cacheend+ after do+ Plugin::CustomEmoji.clear_cache+ end+it 'allows to register an emoji' doPlugin::Instance.new.register_emoji("foo", "/foo/bar.png")