aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test/callback_inheritance_test.rb
Commit message (Collapse)AuthorAgeFilesLines
* Define callbacks on descendants.Ryan Wallace2018-02-061-0/+10
| | | | We set callbacks on all descendants, so we need to make sure that they are also defined on all descendants as well.
* Use assert_predicate and assert_not_predicateDaniel Colson2018-01-251-2/+2
|
* [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 three new rubocop rulesRafael Mendonça França2016-08-161-5/+5
| | | | | | | | Style/SpaceBeforeBlockBraces Style/SpaceInsideBlockBraces Style/SpaceInsideHashLiteralBraces Fix all violations in the repository.
* modernizes hash syntax in activesupportXavier Noria2016-08-061-5/+5
|
* applies new string literal convention in activesupport/testXavier Noria2016-08-061-1/+1
| | | | | The current code base is not uniform. After some discussion, we have chosen to go with double quotes by default.
* Removed unused setupAnupam Choudhury2013-04-101-2/+0
|
* AS::Callbacks#run_callbacks remove key argumentFrancesco Rodriguez2012-05-101-1/+1
|
* AS::Callbacks: rip out per_key option.Bogdan Gusiev2012-02-041-8/+8
|
* removing unnecessary requiresAaron Patterson2012-01-061-1/+0
|
* use AS::TestCase as the base classAaron Patterson2012-01-051-4/+4
|
* Removal require again from tests.Arun Agrawal2011-05-221-1/+0
|
* Prevent callbacks in child classes from being executed more than once.Rolf Timmermans2011-03-131-0/+30
|
* Use run_callbacks; the generated _run_<name>_callbacks method is not a ↵John Firebaugh2011-01-311-1/+1
| | | | | | public interface. Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Added missing requires abstract_unit and activesupport to the loadpath of ↵Santiago Pastorino and Sebastian Martinez2010-03-181-0/+1
| | | | | | ts_isolated [#4215 state:committed] Signed-off-by: wycats <wycats@gmail.com>
* Make sure AS test env doesn't have duplicate libs in load pathJoshua Peek2010-02-151-1/+0
|
* Fix inheritance issue with new callbacks.José Valim2010-01-011-0/+35
|
* Callbacks, DeprecatedCallbacks = NewCallbacks, CallbacksJoshua Peek2009-10-121-0/+115