aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/controller/new_base/middleware_test.rb
Commit message (Collapse)AuthorAgeFilesLines
* added block arguments to ActionController::Metal#useCollin Miller2010-09-121-0/+22
| | | | | | | | | | | Useful for cases such as warden, where a block configuration is taken. class SomeController < ApplicationController use RailsWarden::Manager do |manager| manager.default_strategies :facebook_oauth manager.failure_app = SomeController.action(:authorize) end end
* Add :only and :except to controllers MiddlewareStack. This allowsJosé Valim2010-05-301-11/+22
| | | | | | | | you to do the following: class PostsController < ApplicationController use AutheMiddleware, :except => [:index, :show] end
* Fixed a bunch of tests that failed in 1.9 because they assumed that a Rack ↵wycats2010-03-191-1/+1
| | | | response was a String.
* File extra test folders into controller, dispatch, or templateJoshua Peek2009-10-031-0/+77