aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/controller
Commit message (Collapse)AuthorAgeFilesLines
* Remove not used requires from csrf helper file and testCarlos Antonio da Silva2012-01-211-7/+0
| | | | | These requires were added in a87b92d and the implementation changed in 2cdc1f0, removing the need for them.
* Removed unused assigns from ActionView::Template::Errorbrainopia2012-01-201-2/+2
| | | | | They existed since initial rails commit by DHH but lost use a long time ago
* Use performed? instead of checking for response_bodyCarlos Antonio da Silva2012-01-191-3/+0
| | | | | | * Check for performed? instead of response_body * Change performed? to return a boolean * Refactor AC::Metal#response_body= to reuse variable
* Do not deprecate performed.José Valim2012-01-191-0/+6
|
* ActionView now has its own loggerRafael Mendonça França2012-01-181-1/+2
|
* Refactor FormBuilder arguments and default configCarlos Antonio da Silva2012-01-181-3/+3
| | | | | | | | | | * Do not reopen AV::Base to define default form builder Inside the load hook we are already in AV::Base context. * Do not pass the given block to the form builder The block is evaluated in fields_for context using capture, with the builder as argument. This means we do not need to give the block to the FormBuilder itself.
* Bring back rendering templates that start with / in nested structuresCarlos Antonio da Silva2012-01-171-0/+22
|
* Remove deprecated default_charset= from AC::BaseCarlos Antonio da Silva2012-01-171-4/+4
| | | | | This should be set globally as a configuration, using `config.action_dispatch.default_charset` instead
* Move render_to_body logic to return a spaced string to AC::RenderingCarlos Antonio da Silva2012-01-171-2/+0
| | | | | | | | | | | This seems to be required only when calling render :partial with an empty collection from a controller. This call happens to return no content, letting the response body empty, which means to Rails that it should go on and try to find a template to render based on the current action name, thus failing hard. Although tests keep all green, we need to check a better way to fix this.
* Remove method missing handling when action is not found, use action missing ↵Carlos Antonio da Silva2012-01-171-45/+0
| | | | | | | instead Do not create a method_missing method to handle not found actions, use the action_missing method provided by Rails instead.
* Rename test class and fix tests to keep consistencyCarlos Antonio da Silva2012-01-171-10/+10
| | | | Based on 50d23bc2bd3653b3c66e480c22ae97c5f7fd7f62.
* Remove deprecated logic to render templates starting with /Carlos Antonio da Silva2012-01-171-22/+0
| | | | render :template => "/foo/bar"
* Remove rescue_action from compatibility module and testsCarlos Antonio da Silva2012-01-1716-56/+1
|
* Remove other old compatibility constantsCarlos Antonio da Silva2012-01-172-8/+8
|
* Remove old compatibility methods not being usedCarlos Antonio da Silva2012-01-172-9/+0
|
* When force redirecting to SSL, make sure that the session is kept. As we're ↵Marcin Bunsch and Przemek Dąbek2012-01-121-1/+37
| | | | moving from a non-secure to secure environment, it's safe
* AC:TestCase::Behavior#head only accepts parameters as second argumentRafael Mendonça França2012-01-101-0/+4
|
* Whitespaces :scissors:Rafael Mendonça França2012-01-101-4/+4
|
* Fix ActionController::TestCase::Behavior.headRafael Mendonça França2012-01-101-0/+5
|
* Merge pull request #4371 from rafaelfranca/test_unit_cleanupAaron Patterson2012-01-091-3/+5
|\ | | | | Test unit cleanup
| * Test constant is not defined anymoreRafael Mendonça França2012-01-061-3/+5
| |
* | get rid of using instance_variable_names method from ASSergey Nartimov2012-01-071-1/+1
|/ | | | | - instance_variables return symbols in 1.9 - there is instance_variable_defined? method
* Remove deprecation warning from test related to old process apiCarlos Antonio da Silva2012-01-061-1/+1
|
* AP tests should inherit from AS::TestCaseAaron Patterson2012-01-056-8/+8
|
* Revert "remove deprecated API"Aaron Patterson2012-01-052-1/+8
| | | | This reverts commit f53c247d10acbaacb0d61824cfce888c4b0520d2.
* remove deprecated APIAaron Patterson2012-01-052-8/+1
|
* Moved all the logger methods to active support loggerKarunakar (Ruby)2012-01-064-5/+5
| | | | minor
* Clean up routes inclusion and add some comments for the next soul that ↵José Valim2012-01-031-14/+0
| | | | decides to adventure on this code.
* moving test_test.rb to test_case_test.rb for consistency.Nick Sutterer2012-01-031-0/+0
|
* allow sending documents in AC::TestCase#post and friends.Nick Sutterer2012-01-031-8/+30
|
* remove ActiveSupport::Base64 in favor of ::Base64Sergey Nartimov2012-01-021-1/+1
|
* remove more conditions for Fiber available in ruby19Vishnu Atrai2011-12-311-1/+1
|
* be explicit about where helpers are installedAaron Patterson2011-12-301-1/+1
|
* mutations on the underlying hash should also mutate the discard setAaron Patterson2011-12-281-0/+19
|
* mutations can't be done without the consent of our proxy object. ThisAaron Patterson2011-12-281-0/+62
| | | | is one benefit of choosing composition over inheritance.
* Merge pull request #4150 from Karunakar/new_PRSantiago Pastorino2011-12-264-7/+8
|\ | | | | change Log
| * Moving to logger methods to ActiveSupport LoggerKarunakar (Ruby)2011-12-244-7/+8
| |
* | remove checks for encodings availabilitySergey Nartimov2011-12-253-3/+3
| |
* | Remove Rescue middleware that was never used by Rails.José Valim2011-12-241-16/+1
| |
* | Provide a class optin for page_cache_compression.José Valim2011-12-241-3/+4
| |
* | Gzip files on page cachingAndrey A.I. Sitnik2011-12-241-1/+40
|/ | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* adding an integration test for splat regexp substitutions. fixes #4138Aaron Patterson2011-12-221-0/+13
|
* Adding an integration test. Fixes #4136Aaron Patterson2011-12-221-0/+9
|
* rack bodies should be a listAaron Patterson2011-12-221-7/+7
|
* refactoring routing testsAaron Patterson2011-12-221-34/+19
|
* adding integration test for journey #7Aaron Patterson2011-12-211-0/+22
|
* caches should not be global, so no need to clear in the teardownAaron Patterson2011-12-211-4/+0
|
* Merge pull request #4079 from drogus/http_digest_issueJosé Valim2011-12-211-2/+43
|\ | | | | Fix http digest authentication when url ends with `/` or `?`
| * Fix http digest authentication with trailing '/' or '?' (fixes #4038 and #3228)Piotr Sarnacki2011-12-211-5/+36
| |
| * Added failing test to demonstrate digest authentication failureJarrod Carlson2011-12-201-0/+10
| |