aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test/i18n_test.rb
Commit message (Collapse)AuthorAgeFilesLines
* 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