DEV: Clean up state leak in BootstrapController spec.

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

diff --git a/spec/requests/bootstrap_controller_spec.rb b/spec/requests/bootstrap_controller_spec.rb
index 9c240de..d18c355 100644
--- a/spec/requests/bootstrap_controller_spec.rb
+++ b/spec/requests/bootstrap_controller_spec.rb
@@ -14,6 +14,7 @@ describe BootstrapController do
 
   after do
     DiscoursePluginRegistry.reset!
+    ExtraLocalesController.clear_cache!
   end
 
   it "returns data as anonymous" do

GitHub sha: 9625208f

This commit appears in #13278 which was approved by martin. It was merged by tgxworld.