aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test
Commit message (Collapse)AuthorAgeFilesLines
* Cleanup Post model, no need to require fake_modelsCarlos Antonio da Silva2012-01-181-17/+6
|
* Do not mutate options hashCarlos Antonio da Silva2012-01-181-0/+6
|
* Cleanup persisted setup for modelCarlos Antonio da Silva2012-01-181-7/+7
|
* Mimic AR models yielding when building new records, avoid using tapCarlos Antonio da Silva2012-01-181-6/+8
|
* No need for concat as wellCarlos Antonio da Silva2012-01-181-4/+4
|
* Add test for content tag with prefix and extra html optionsCarlos Antonio da Silva2012-01-181-4/+10
|
* Merge pull request #4488 from rafaelfranca/av-refactorXavier Noria2012-01-171-0/+4
|\ | | | | ActionView::Helpers::FormHelper refactoring
| * Adding one test case for label with blockRafael Mendonça França2012-01-171-0/+4
| |
* | 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-1722-83/+7
| |
* | Remove other old compatibility constantsCarlos Antonio da Silva2012-01-174-11/+11
| |
* | Remove old compatibility methods not being usedCarlos Antonio da Silva2012-01-172-9/+0
|/
* Stub ip method of alternative request classSam Pohlenz2012-01-141-0/+4
|
* Use a BodyProxy instead of including a Module that responds to close.Santiago Pastorino2012-01-131-1/+12
| | | | Closes #4441 if Active Record is disabled assets are delivered correctly
* removed unnecessary test_pass test from form_tag_helper_test.rbKarunakar (Ruby)2012-01-131-4/+0
|
* Merge pull request #4429 from marcinbunsch/1923-force-ssl-redirect-keep-flashJosé Valim2012-01-121-1/+37
|\ | | | | When force redirecting to SSL, make sure that the session is kept
| * 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
* | Handle leading spaces in protocol while sanitizingManu2012-01-121-1/+8
|/
* 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
| |
* | instance_variables method returns symbols in 1.9 rubySergey Nartimov2012-01-071-1/+1
| |
* | 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
* | Merge pull request #4369 from lest/remove-warningsPiotr Sarnacki2012-01-071-2/+2
|\ \ | | | | | | use stub instead of redefining method to suppress warnings
| * | use stub instead of redefining method to suppress warningsSergey Nartimov2012-01-071-2/+2
| | |
* | | add benchmark helper that works in erbSergey Nartimov2012-01-071-0/+24
| |/ |/|
* | require minitest rather than test/unitAaron Patterson2012-01-062-2/+2
|/
* test response assertionsAaron Patterson2012-01-061-0/+55
|
* don't set the hidden checkbox value if it's nilDamien Mathieu2012-01-061-0/+8
|
* Do not stub id hereSantiago Pastorino2012-01-061-6/+6
|
* Revert "Revert "More 1.9 way""Santiago Pastorino2012-01-061-0/+2
| | | | | Fixed failing tests This reverts commit 8350ce97f2065eed9638c595d3938a573d6fa343.
* Merge pull request #4342 from carlosantoniodasilva/fix-routing-testJosé Valim2012-01-062-3/+3
|\ | | | | Fix routing test and remove deprecated method
| * Remove deprecation warning from test related to old process apiCarlos Antonio da Silva2012-01-061-1/+1
| |
| * Fix routing test to use assert_equalCarlos Antonio da Silva2012-01-061-2/+2
| |
* | Add test path to LOAD_PATH to fix load errorRafael Mendonça França2012-01-061-0/+1
|/
* AP tests should inherit from AS::TestCaseAaron Patterson2012-01-0518-22/+23
|
* check_box helper with :disabled => true generates disabled hidden field. ↵Tadas Tamošauskas2012-01-051-4/+3
| | | | fixes #1953
* Merge pull request #4333 from rafaelfranca/patch-1José Valim2012-01-051-2/+2
|\ | | | | Change more Array.wrap calls
| * Change more Array.wrap to Kernel#ArrayRafael Mendonça França2012-01-051-2/+2
| |
* | remove obsolete commented asserts in TextHelper testsSergey Nartimov2012-01-061-6/+0
| |
* | Moved all the logger methods to active support loggerKarunakar (Ruby)2012-01-067-8/+8
|/ | | | minor
* Merge pull request #4296 from kuroda/negative_formatAaron Patterson2012-01-041-0/+7
|\ | | | | Infer currency negative format from positive one.
| * Infer currency negative format from positive one.Tsutomu Kuroda2012-01-051-0/+7
| | | | | | | | | | | | When a locale file sets the format of the positive currency value as '%n %u', the default negative currency format should be '-%n %u'.