mirror of
https://github.com/discourse/discourse.git
synced 2025-05-24 03:36:18 +08:00
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:
@ -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
|
||||||
|
Reference in New Issue
Block a user