Skip to content

A platform for community discussion. Free, open, simple.

DEV: Reset DiscoursePluginRegistry after spec (#25369)

Mark VanLandinghamd5e3a47d3cef
diff --git a/spec/lib/email/renderer_spec.rb b/spec/lib/email/renderer_spec.rb
index 6a89b270e80..63570ceb315 100644
--- a/spec/lib/email/renderer_spec.rb
+++ b/spec/lib/email/renderer_spec.rb
@@ -24,6 +24,7 @@ RSpec.describe Email::Renderer do
end
context "with email_renderer_html modifier" do
+ after { DiscoursePluginRegistry.reset! }
it "can modify the html" do
Plugin::Instance
.new