Add a test to check that html.dir is sensible in every locale

This commit is contained in:
Tom Hughes 2014-02-23 00:20:57 +00:00
parent d1313a89d6
commit 1ea64ea977

View file

@ -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