diff options
author | Akira Matsuda <ronnie@dio.jp> | 2013-12-25 16:29:04 +0900 |
---|---|---|
committer | Akira Matsuda <ronnie@dio.jp> | 2013-12-25 18:10:56 +0900 |
commit | ccc1a7b7b0b2915799c60aeb6ee94b2e70994b6c (patch) | |
tree | 1de4518c240f9b1e28d9a3f0e9d8d547bf0e0e84 | |
parent | f57e5f224bdc9f1d0b194a7c82d6debf76e66499 (diff) | |
download | rails-ccc1a7b7b0b2915799c60aeb6ee94b2e70994b6c.tar.gz rails-ccc1a7b7b0b2915799c60aeb6ee94b2e70994b6c.tar.bz2 rails-ccc1a7b7b0b2915799c60aeb6ee94b2e70994b6c.zip |
Unused classes in AP tests
-rw-r--r-- | actionpack/test/abstract_unit.rb | 3 | ||||
-rw-r--r-- | actionpack/test/controller/filters_test.rb | 11 |
2 files changed, 0 insertions, 14 deletions
diff --git a/actionpack/test/abstract_unit.rb b/actionpack/test/abstract_unit.rb index 87db9a3de4..37e993b4e5 100644 --- a/actionpack/test/abstract_unit.rb +++ b/actionpack/test/abstract_unit.rb @@ -334,7 +334,6 @@ class ThreadsController < ResourcesController; end class MessagesController < ResourcesController; end class CommentsController < ResourcesController; end class ReviewsController < ResourcesController; end -class AuthorsController < ResourcesController; end class LogosController < ResourcesController; end class AccountsController < ResourcesController; end @@ -345,8 +344,6 @@ class PreferencesController < ResourcesController; end module Backoffice class ProductsController < ResourcesController; end - class TagsController < ResourcesController; end - class ManufacturersController < ResourcesController; end class ImagesController < ResourcesController; end module Admin 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) |