mirror of
https://github.com/discourse/discourse.git
synced 2025-06-04 21:59:34 +08:00
DEV: Fix flaky test due to locale cache poisoning
A follow-up to #13322
This commit is contained in:
@ -4,6 +4,10 @@ require 'rails_helper'
|
||||
|
||||
describe TrustLevelSetting do
|
||||
describe ".values" do
|
||||
after do
|
||||
I18n.reload!
|
||||
end
|
||||
|
||||
it "returns translated names" do
|
||||
TranslationOverride.upsert!(I18n.locale, "js.trust_levels.names.newuser", "New Member")
|
||||
|
||||
|
Reference in New Issue
Block a user