diff options
author | Yehuda Katz <wycats@yehuda-katzs-macbookpro41.local> | 2009-06-02 22:06:21 -0700 |
---|---|---|
committer | Yehuda Katz <wycats@yehuda-katzs-macbookpro41.local> | 2009-06-02 22:06:21 -0700 |
commit | d6e4113c83a9d55be6f2af247da2cecaa855f43b (patch) | |
tree | b0be336385aec7383950889029c28ad8db61e46f /actionpack | |
parent | 6b4da2ecacc28d7e50aa0e0123b5f4564d6e92c2 (diff) | |
download | rails-d6e4113c83a9d55be6f2af247da2cecaa855f43b.tar.gz rails-d6e4113c83a9d55be6f2af247da2cecaa855f43b.tar.bz2 rails-d6e4113c83a9d55be6f2af247da2cecaa855f43b.zip |
YAGNI Method references. Deprecated
Diffstat (limited to 'actionpack')
-rw-r--r-- | actionpack/test/controller/filters_test.rb | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/actionpack/test/controller/filters_test.rb b/actionpack/test/controller/filters_test.rb index df0a9dbfb0..b930ff4997 100644 --- a/actionpack/test/controller/filters_test.rb +++ b/actionpack/test/controller/filters_test.rb @@ -876,10 +876,12 @@ class YieldingAroundFiltersTest < ActionController::TestCase assert_raise(After) { test_process(controller,'raises_after') } end - def test_with_method - controller = ControllerWithFilterMethod - assert_nothing_raised { test_process(controller,'no_raise') } - assert_raise(After) { test_process(controller,'raises_after') } + for_tag(:old_base) do + def test_with_method + controller = ControllerWithFilterMethod + assert_nothing_raised { test_process(controller,'no_raise') } + assert_raise(After) { test_process(controller,'raises_after') } + end end def test_with_proc |