aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/abstract/translation_test.rb
Commit message (Collapse)AuthorAgeFilesLines
* Use frozen string literal in actionpack/Kir Shatrov2017-07-291-0/+2
|
* 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
|
* Allow translate default option to accept an array similar to i18n.t. Fixes ↵Vipul A M2017-06-151-0/+1
| | | | #29441
* Fix broken alignments caused by auto-correct commit 411ccbdRyuta Kamizono2016-08-101-1/+2
| | | | Hash syntax auto-correcting breaks alignments. 411ccbdab2608c62aabdb320d52cb02d446bb39c
* remove redundant curlies from hash argumentsXavier Noria2016-08-061-4/+2
|
* applies new string literal convention in actionpack/testXavier Noria2016-08-061-9/+9
| | | | | The current code base is not uniform. After some discussion, we have chosen to go with double quotes by default.
* Get rid of mocha tests - part 1Marcin Olichwirowicz2015-08-241-7/+15
|
* ActionController#translate also lookups shortcut without action nameMax Melentiev2013-10-221-2/+6
|
* ActionController#translate supports symbolsprintercu2013-09-251-6/+21
| | | | Made it similar to views helper.
* Fix setting expected value in translation testsCarlos Antonio da Silva2013-01-211-2/+2
| | | | It was being set to nil instead due to the wrong assignment.
* Removed ActionController::Base dependency from abstract controller ↵Jens Bissinger2013-01-201-41/+46
| | | | translation tests.
* Test abstract controller's localize method.Jens Bissinger2013-01-201-0/+6
|
* add lazy look up in abstract controller's translate methodSergey Pchelincev2012-07-181-0/+13
|
* AP tests should inherit from AS::TestCaseAaron Patterson2012-01-051-2/+2
|
* Deletes trailing whitespaces (over text files only find * -type f -exec sed ↵Santiago Pastorino2010-08-141-4/+4
| | | | 's/[ \t]*$//' -i {} \;)
* Use assert_respond_to because it has better error messagingNeeraj Singh2010-05-181-4/+4
| | | | | | [#4628 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* Move ActionController::Translation to AbstractController::Translation.José Valim2010-01-201-0/+26