aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test/subscriber_test.rb
Commit message (Collapse)AuthorAgeFilesLines
* Fix assertion arguments orderCarlos Antonio da Silva2014-07-311-1/+1
|
* Remove warning remeving the method before redefiningRafael Mendonça França2014-05-231-0/+1
| | | | | | | We need to test if the same method defined more than once only register one subscriber for it. We can safelly remove because the method body is the same and Subscriber use method_added hook for register the subscriber.
* Fixed duplicate subscribers in ActiveSupport::SubscriberDennis Schoen2014-05-091-6/+19
| | | | | ActiveSupport::Subscriber no longer creates multiple subscribers when you redefine a method.
* Allow attaching to AS::Notifications namespace up frontDaniel Schierbeck2013-09-201-0/+40
Before, you were required to attach *after* adding the methods to the class, since the attachment process needed the methods to be present. With this change, any new method will also be attached to the configured namespace.