cwninja / assert_i18n
- Source
- Commits
- Network (0)
- Issues (0)
- Downloads (0)
- Wiki (1)
- Graphs
-
Branch:
master
| name | age | message | |
|---|---|---|---|
| |
.gitignore | ||
| |
README.textile | ||
| |
Rakefile | ||
| |
assert_i18n.gemspec | ||
| |
init.rb | ||
| |
lib/ | ||
| |
rails/ | ||
| |
test/ |
README.textile
AssertI18n
A collection of I18n assertions I use in daily life.
Assertions Provided:
assert_no_missing_translations– Checks that no missing translation errors occurred inside the blockassert_all_locales_have_all_translations_available_to_the_default_locale– Makes sure all your locale translations files are in sync with your default locale.assert_localized_file_availability– Checks that a file is exists in allavailable_locales.
Helpers Provided:
each_locale– Iterates over each locale, passing in the locale as a parameter to the block.with_each_locale– Iterates over each locale, setting `I18n.locale` and running the block for each locale in turn.

