DEV: Clean up state leak in BootstrapController spec.

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

Follow-up to 19763065394e09de2c162a869aa953c7cd4e6fa3
This commit is contained in:
Alan Guo Xiang Tan
2021-06-04 09:50:25 +08:00
parent 33cb1b7cf1
commit 9625208f40

View File

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