diff options
-rw-r--r-- | activesupport/test/callbacks_test.rb | 4 |
1 files 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 |