aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test/i18n_test.rb
Commit message (Collapse)AuthorAgeFilesLines
* [Active Support] `rubocop -a --only Layout/EmptyLineAfterMagicComment`Koichi ITO2017-07-111-0/+1
|
* Use frozen-string-literal in ActiveSupportKir Shatrov2017-07-091-0/+1
|
* Revert "Merge pull request #29540 from kirs/rubocop-frozen-string"Matthew Draper2017-07-021-1/+0
| | | | | This reverts commit 3420a14590c0e6915d8b6c242887f74adb4120f9, reversing changes made to afb66a5a598ce4ac74ad84b125a5abf046dcf5aa.
* Enforce frozen string in RubocopKir Shatrov2017-07-011-0/+1
|
* modernizes hash syntax in activesupportXavier Noria2016-08-061-10/+10
|
* applies new string literal convention in activesupport/testXavier Noria2016-08-061-16/+16
| | | | | The current code base is not uniform. After some discussion, we have chosen to go with double quotes by default.
* remove unnecessary calling of `I18n.backend.store_translations(empty, {})`Kuldeep Aggarwal2014-06-151-1/+0
| | | | | Clean up I18n stored translations after test continuation with #15714
* Fix failing test about date.order translation valuesCarlos Antonio da Silva2013-01-191-1/+1
| | | | Introduced in b718998f3e8e6f3d01ad138e40f08fbcc3736285.
* Ensure Array#to_sentence does not modify given hashCarlos Antonio da Silva2012-06-261-0/+5
| | | | | Also simplify I18n logic for Array#to_sentence, doing only one lookup for all keys and using merge!, instead of one lookup for each option key.
* use AS::TestCase as the base classAaron Patterson2012-01-051-1/+1
|
* Deletes trailing whitespaces (over text files only find * -type f -exec sed ↵Santiago Pastorino2010-08-141-17/+17
| | | | 's/[ \t]*$//' -i {} \;)
* No need for test stubJeremy Kemper2009-11-141-2/+2
|
* Remove 'core' fluff. Hookable ActiveSupport.load_all!Jeremy Kemper2009-05-201-1/+1
|
* Fix dependencies revealed by testing in isolationJeremy Kemper2009-04-221-0/+2
|
* Change Array#to_sentence I18n options to pass comma and space character from ↵Akira Matsuda2008-12-081-6/+15
| | | | | | | | outside. [#1397 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Require mocha >= 0.9.0 for AS testsJeremy Kemper2008-11-221-5/+3
|
* use :en as a default locale (in favor of :en-US)Sven Fuchs2008-11-181-2/+2
| | | | Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
* Made i18n simple backend able to store false values (and not confuse them ↵Tarmo Tänav2008-10-091-0/+16
| | | | | | | | | with nil or lack of value) Implemented support.array.skip_last_comma i18n key for Array#to_sentence, this also tests the ability to store false. Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* make i18n date/time tests timezone independentSven Fuchs2008-07-161-10/+10
|
* align with changes in i18nSven Fuchs2008-07-061-6/+6
|
* remove core extensions in favor of I18n#translate and I18n#localizeSven Fuchs2008-07-021-0/+75