Skip to content

Commit

Permalink
[chore] reset i18n config after test run
Browse files Browse the repository at this point in the history
  • Loading branch information
Kharonus committed Nov 15, 2024
1 parent f46f7d0 commit d3f6955
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,10 @@
)
end

after do
I18n.config.enforce_available_locales = true
end

it "is invalid with localized validation errors" do
I18n.with_locale(:mo) do
result = subject.call(params)
Expand Down

0 comments on commit d3f6955

Please sign in to comment.