DEV: Clean up state leak in BootstrapController spec.

The state leak was causing `ExtraLocalesController.client_overrides_exist?` specs to fail randomly.

Follow-up to 1976306539
This commit is contained in:
Alan Guo Xiang Tan 2021-06-04 09:50:25 +08:00
parent 33cb1b7cf1
commit 9625208f40
1 changed files with 1 additions and 0 deletions

View File

@ -14,6 +14,7 @@ describe BootstrapController do
after do
DiscoursePluginRegistry.reset!
ExtraLocalesController.clear_cache!
end
it "returns data as anonymous" do