From 1ff1236b079d379bbf0ceaf19d7efc3ee97d0406 Mon Sep 17 00:00:00 2001 From: Aaron Patterson Date: Wed, 8 May 2013 11:31:25 -0700 Subject: we need to indicate the type of callback --- activesupport/test/callbacks_test.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/activesupport/test/callbacks_test.rb b/activesupport/test/callbacks_test.rb index 8df1c5bb7a..0a79cb037c 100644 --- a/activesupport/test/callbacks_test.rb +++ b/activesupport/test/callbacks_test.rb @@ -807,9 +807,9 @@ module CallbacksTest Class.new { include ActiveSupport::Callbacks define_callbacks :foo - n.times { set_callback :foo, callback } + n.times { set_callback :foo, :before, callback } def run; run_callbacks :foo; end - def self.skip(thing); skip_callback :foo, thing; end + def self.skip(thing); skip_callback :foo, :before, thing; end } end -- cgit v1.2.3