aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/controller
diff options
context:
space:
mode:
authorAkira Matsuda <ronnie@dio.jp>2013-12-25 16:29:04 +0900
committerAkira Matsuda <ronnie@dio.jp>2013-12-25 18:10:56 +0900
commitccc1a7b7b0b2915799c60aeb6ee94b2e70994b6c (patch)
tree1de4518c240f9b1e28d9a3f0e9d8d547bf0e0e84 /actionpack/test/controller
parentf57e5f224bdc9f1d0b194a7c82d6debf76e66499 (diff)
downloadrails-ccc1a7b7b0b2915799c60aeb6ee94b2e70994b6c.tar.gz
rails-ccc1a7b7b0b2915799c60aeb6ee94b2e70994b6c.tar.bz2
rails-ccc1a7b7b0b2915799c60aeb6ee94b2e70994b6c.zip
Unused classes in AP tests
Diffstat (limited to 'actionpack/test/controller')
-rw-r--r--actionpack/test/controller/filters_test.rb11
1 files changed, 0 insertions, 11 deletions
diff --git a/actionpack/test/controller/filters_test.rb b/actionpack/test/controller/filters_test.rb
index 3b5d7ef446..d3efca5b6f 100644
--- a/actionpack/test/controller/filters_test.rb
+++ b/actionpack/test/controller/filters_test.rb
@@ -893,17 +893,6 @@ class ControllerWithFilterInstance < PostsController
around_filter YieldingFilter.new, :only => :raises_after
end
-class ControllerWithFilterMethod < PostsController
- class YieldingFilter < DefaultFilter
- def around(controller)
- yield
- raise After
- end
- end
-
- around_filter YieldingFilter.new.method(:around), :only => :raises_after
-end
-
class ControllerWithProcFilter < PostsController
around_filter(:only => :no_raise) do |c,b|
c.instance_variable_set(:"@before", true)