Add a test to check that html.dir is sensible in every locale
This commit is contained in:
parent
d1313a89d6
commit
1ea64ea977
1 changed files with 2 additions and 0 deletions
|
@ -48,6 +48,8 @@ class I18nTest < ActiveSupport::TestCase
|
|||
end
|
||||
end
|
||||
end
|
||||
|
||||
assert ["ltr", "rtl"].include?(I18n.t("html.dir", :locale => locale)), "html.dir must be ltr or rtl"
|
||||
end
|
||||
end
|
||||
private
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue