aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/controller/new_base
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
* Fixed routes to use new API in a few more actionpack testsPiotr Sarnacki2010-09-054-17/+47
|
* Removed deprecated RouteSet API, still many tests failPiotr Sarnacki2010-09-051-0/+3
|
* Deletes trailing whitespaces (over text files only find * -type f -exec sed ↵Santiago Pastorino2010-08-147-25/+25
| | | | 's/[ \t]*$//' -i {} \;)
* Fix controller_name for non default controller paths [#4901 state:resolved]knapo2010-06-231-0/+38
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Fix case when rendering a partial inside RJS with inherited layout [#4786 ↵José Valim2010-06-071-0/+3
| | | | state:resolved]
* 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
* Use better assertion methods for testingNeeraj Singh2010-05-191-2/+2
| | | | | | [#4645 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* Added test get to js should have a header with content-type text/javascriptSantiago Pastorino2010-04-161-1/+8
|
* Tidy up a bit this test fileSantiago Pastorino2010-04-161-7/+2
|
* Revert "Add test case which check content type when rendering rjs" partial ↵Santiago Pastorino2010-04-161-9/+1
| | | | | | in html template" rendering rjs in html doesn't make sense, it would just output javascript into the template, no script tag This reverts commit dc251389d1ab4303b80a22642f4241940b73cbe7.
* Add test case which check content type when rendering rjs partial in html ↵Stanko Alexander2010-04-131-1/+9
| | | | | | template Signed-off-by: wycats <wycats@gmail.com>
* Fixed a bunch of tests that failed in 1.9 because they assumed that a Rack ↵wycats2010-03-192-3/+5
| | | | response was a String.
* Improve performance of the rendering stack by freezing formats as a sign ↵José Valim2010-03-191-2/+13
| | | | that they shouldn't be further modified.
* remove duplicated self.view_paths assingment on controller tests [#4206 ↵Santiago Pastorino2010-03-181-2/+2
| | | | | | state:commited] Signed-off-by: wycats <wycats@gmail.com>
* Return a valid Rack response from bare ActionController::MetalCarlhuda2010-03-181-0/+27
|
* Fix rendering of HTML partials inside JS templates [#4197 status:resolved]José Valim2010-03-161-0/+7
|
* Add tests for lookup context.José Valim2010-03-111-1/+1
|
* Add support for compile-time <%= raw %>Yehuda Katz2010-01-311-22/+34
|
* deOMGifying Railties, Active Support, and Action PackMikel Lindsaar2010-01-313-26/+26
|
* Stop overriding LoadError.new to return a MissingSourceError (and sometimes ↵Yehuda Katz2010-01-191-1/+1
| | | | nil!)
* Fix failing test.José Valim2010-01-191-2/+2
|
* Clear out AS callback method pollution in AC::Base.action_methodsJoshua Peek2010-01-171-1/+27
|
* test-unit 2 compat: assert_raise doesn't support regexp second arg to match ↵Jeremy Kemper2009-11-101-1/+1
| | | | exception message
* Update MetalTest for constant scoping change in 1.9Yehuda Katz2009-10-151-2/+2
|
* Fix test to correctly handle 1.9 Array#to_s behaviorYehuda Katz2009-10-151-1/+1
|
* Redraw default routes on all internal integration tests. We don't need ↵Joshua Peek2009-10-0313-26/+26
| | | | SimpleRouteCase anymore
* Changing directories during the test breaks file loading when ran by itselfJoshua Peek2009-10-031-32/+21
|
* File extra test folders into controller, dispatch, or templateJoshua Peek2009-10-0316-0/+1402