mirror of
https://github.com/discourse/discourse.git
synced 2025-06-25 01:01:34 +08:00

Running this spec locally I was getting an error: ``` 1) translate accelerator plugins loads plural rules from plugins Failure/Error: DiscoursePluginRegistry.unregister_locale("foo") NoMethodError: undefined method `unregister_locale' for class DiscoursePluginRegistry # ./spec/lib/freedom_patches/translate_accelerator_spec.rb:113:in `block (3 levels) in <main>' Finished in 0.17998 seconds (files took 1.88 seconds to load) 1 example, 1 failure Failed examples: rspec ./spec/lib/freedom_patches/translate_accelerator_spec.rb:117 # translate accelerator plugins loads plural rules from plugins ``` On top of this, this spec was flakey, Im not sure this is going to fix flakyness, but this seems like a good first step.