Permalink
Browse files

Unused classes in AP tests

  • Loading branch information...
amatsuda committed Dec 25, 2013
1 parent f57e5f2 commit ccc1a7b7b0b2915799c60aeb6ee94b2e70994b6c
Showing with 0 additions and 14 deletions.
  1. +0 −3 actionpack/test/abstract_unit.rb
  2. +0 −11 actionpack/test/controller/filters_test.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
@@ -893,17 +893,6 @@ def around(controller)
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)

0 comments on commit ccc1a7b

Please sign in to comment.