FIX: Cleanup DiscoursePluginRegistry state after tests that use it

This was causing some heisentests
This commit is contained in:
Daniel Waterworth
2019-09-20 13:32:43 +01:00
parent 563253e9ed
commit 7f8cdea924
3 changed files with 6 additions and 1 deletions

View File

@ -40,6 +40,7 @@ describe Stylesheet::Compiler do
after do
Discourse.plugins.pop
Stylesheet::Importer.register_imports!
DiscoursePluginRegistry.reset!
end
it "does not include theme variables in plugins" do