aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test/core_ext/object/blank_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
|
* Add Time#blank? to blank_testkenta-s2017-02-121-1/+1
|
* "Use assert_nil if expecting nil. This will fail in minitest 6."Akira Matsuda2016-12-251-1/+1
|
* applies new string literal convention in activesupport/testXavier Noria2016-08-061-4/+4
| | | | | The current code base is not uniform. After some discussion, we have chosen to go with double quotes by default.
* :scissors: empty line at the top of filesAkira Matsuda2015-09-211-1/+0
|
* Removed magic comments # encoding: utf-8 , since its default from ruby 2.0 ↵Vipul A M2015-02-031-1/+0
| | | | onwards.
* Bring back the test cases for `presence`Godfrey Chan2014-08-291-0/+5
| | | | This was removed by mistake in 5e51bdd
* We tenderized the wrong method! Object#try already had the yield option, ↵David Heinemeier Hansson2014-08-291-10/+0
| | | | just needed some tenderloving instance_eval to fit the bill
* Clarify the origin of this great addition to Rails :trollface: :trollface ↵David Heinemeier Hansson2014-08-291-1/+1
| | | | :trollface:
* Use instance_eval on @tenderlove's suggestion :trollface:David Heinemeier Hansson2014-08-291-2/+2
|
* Added yield to Object#presenceDavid Heinemeier Hansson2014-08-291-0/+5
|
* Move test for blank.rb under objectAkshay Vishnoi2014-06-111-0/+36