DEV: Fix flaky test due to locale cache poisoning
A follow-up to #13322
This commit is contained in:
parent
0fe9a36e89
commit
0815b4cc2e
|
@ -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")
|
||||
|
||||
|
|
Loading…
Reference in New Issue