From 7644a99d90a0521165ebde1ccd201603bf7f126a Mon Sep 17 00:00:00 2001 From: Abdelkader Boudih Date: Thu, 8 Jan 2015 20:51:51 +0000 Subject: Deprecate all *_filter callbacks in favor of *_action callbacks --- actionpack/test/abstract/callbacks_test.rb | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'actionpack/test') diff --git a/actionpack/test/abstract/callbacks_test.rb b/actionpack/test/abstract/callbacks_test.rb index 8cba049485..07571602e4 100644 --- a/actionpack/test/abstract/callbacks_test.rb +++ b/actionpack/test/abstract/callbacks_test.rb @@ -267,9 +267,11 @@ module AbstractController end class AliasedCallbacks < ControllerWithCallbacks - before_filter :first - after_filter :second - around_filter :aroundz + ActiveSupport::Deprecation.silence do + before_filter :first + after_filter :second + around_filter :aroundz + end def first @text = "Hello world" -- cgit v1.2.3