aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2013-05-14 10:48:43 -0700
committerAaron Patterson <aaron.patterson@gmail.com>2013-05-14 10:48:43 -0700
commit9dcecbb080dca8e9525bcbc9a2d64ab4b417dd6d (patch)
tree0b8477543eea2f5e799f2bc91bfa88c3a1418c2a /activesupport
parent73aefee3f23f54786c69f1bafa5b1f0b5aee8398 (diff)
parentf93da579ce7f77dbd58b9a2165861aee265b8c93 (diff)
downloadrails-9dcecbb080dca8e9525bcbc9a2d64ab4b417dd6d.tar.gz
rails-9dcecbb080dca8e9525bcbc9a2d64ab4b417dd6d.tar.bz2
rails-9dcecbb080dca8e9525bcbc9a2d64ab4b417dd6d.zip
Merge branch 'master' into normalizecb
* master: private callback methods should work Update mail to minimum version 2.5.4
Diffstat (limited to 'activesupport')
-rw-r--r--activesupport/test/callbacks_test.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/activesupport/test/callbacks_test.rb b/activesupport/test/callbacks_test.rb
index b97001b652..86057f7cbb 100644
--- a/activesupport/test/callbacks_test.rb
+++ b/activesupport/test/callbacks_test.rb
@@ -864,8 +864,9 @@ module CallbacksTest
include ActiveSupport::Callbacks
define_callbacks :foo, :scope => [:name]
set_callback :foo, :before, :foo, :if => callback
- def foo; end
def run; run_callbacks :foo; end
+ private
+ def foo; end
}
object = klass.new
object.run