aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test
Commit message (Collapse)AuthorAgeFilesLines
* move show_detailed_exceptions? to Rescue modulelest2011-11-221-2/+2
|
* refactor show exceptions testslest2011-11-222-42/+78
|
* add ActionController::Metal#show_detailed_exceptions?lest2011-11-221-19/+26
|
* Merge pull request #3695 from tobiassvn/partial_path_errorYehuda Katz2011-11-191-0/+7
|\ | | | | Meaningful errors for unexpected partial arguments. Fixes #3573
| * Meaningful errors for unexpected partial arguments. Fixes #3573Tobias Svensson2011-11-191-0/+7
| |
* | Don't html-escape the :count option to translate if it's a Numeric. Fixes #3685.Jon Leighton2011-11-191-1/+11
|/
* Refactoring the redirect method for the router api.Aaron Patterson2011-11-181-0/+5
|
* remove the :path feature to redirects, since it cannot workAaron Patterson2011-11-181-33/+0
|
* require that all blocks have arity of 2Aaron Patterson2011-11-181-1/+1
|
* _html translation should escape interpolated argumentslest2011-11-171-0/+6
|
* Fix impractical I18n lookup in nested fields_forAlexander Uvarov2011-11-171-0/+46
|
* add test for bug fixed in 4f2bf64Andre Arko2011-11-141-0/+5
|
* change tests to expect X-F-F over REMOTE_ADDRAndre Arko2011-11-131-2/+2
|
* Merge pull request #3592 from avakhov/av-highlight-regexpJosé Valim2011-11-101-0/+4
|\ | | | | Fix and simplify highlight regexp
| * Fix and simplify highlight regexpAlexey Vakhov2011-11-101-0/+4
| |
* | Merge pull request #3581 from amatsuda/metal_response_body_19José Valim2011-11-101-0/+6
|\ \ | |/ |/| AC::Metal#response_body= stores different value in Ruby 1.8 and 1.9
| * A test case to ensure that AC::Metal#response_body= always wraps the given ↵Akira Matsuda2011-11-101-0/+6
| | | | | | | | value in an Array in both Ruby 1.8 and 1.9 (refs #3581)
* | Fix trouble using :subdomain in development environment when using ↵Bradford Folkens2011-11-081-0/+11
|/ | | | | | | | | | | | | | | | numeric addresses. See-also pull request #3561 from 3-1-stable Otherwise the following occurs: TypeError: can't convert nil into String /Users/bfolkens/dev/bfolkens-rails-core/actionpack/lib/action_dispatch/http/url.rb:75:in host_or_subdomain_and_domain' /Users/bfolkens/dev/bfolkens-rails-core/actionpack/lib/action_dispatch/http/url.rb:37:in url_for' /Users/bfolkens/dev/bfolkens-rails-core/actionpack/lib/action_dispatch/routing/url_for.rb:147:in test_subdomain_may_be_accepted_with_numeric_host' /Users/bfolkens/dev/bfolkens-rails-core/activesupport/lib/active_support/testing/setup_and_teardown.rb:67:in run' /Users/bfolkens/dev/bfolkens-rails-core/activesupport/lib/active_support/callbacks.rb:426:in send' /Users/bfolkens/dev/bfolkens-rails-core/activesupport/lib/active_support/callbacks.rb:81:in run'
* Revert "Skip test_default_external_works on the CI for Ruby 1.9.3."Jon Leighton2011-11-061-11/+0
| | | | This reverts commit 10773f94eae0dacf10e2ed0c28f6bb73805c2521.
* Skip test_default_external_works on the CI for Ruby 1.9.3.Jon Leighton2011-11-051-0/+11
| | | | | | | | | | | | | | | | | | | This test is affected by a bug in Ruby 1.9.3p0 and trunk: http://redmine.ruby-lang.org/issues/5564 Given we cannot fix it for ourselves, it is better to skip for now so that we will easily see if further failures are introduced. Jon Leighton is monitoring the bug report and will revert this when a suitable solution is found (either a new Ruby release or a generic workaround). If you are using 1.9.3 in your app and have templates that are not in UTF-8, you should add a workaround early on in the boot process. For example, if your templates are Shift_JIS encoded, then add the following in an initializer: Encoding::Converter.new('Shift_JIS', 'UTF-8')
* add tests for the case where size is explicitly passed to number_field helperVijay Dev2011-11-041-0/+4
|
* Remove 'size' attribute from number_field form helper fixes #3454Waseem Ahmad2011-11-041-2/+2
| | | | | f.number_field generates <input type="number", size="30"../> which is invalid HTML5. See: http://dev.w3.org/html5/spec/Overview.html#number-state
* Stub find_template so that when handle_render_error is called in ↵Jon Leighton2011-11-031-0/+3
| | | | | | ActionView::Template, we get to see the actual underlying error rather than a NoMethodError. This shows an encoding bug on Ruby 1.9.3.
* Ensure that the format isn't applied twice to the cache key, else it becomes ↵Christopher Meiklejohn2011-10-311-0/+13
| | | | impossible to target with expire_action.
* Merge pull request #3435 from MDaubs/action_pack_deprecationsSantiago Pastorino2011-10-261-4/+4
|\ | | | | Fix deprecation warnings in action pack render tests
| * Fix deprecation warnings in action pack test suite due to passing template ↵Matthew Daubert2011-10-251-4/+4
| | | | | | | | formats in the template name.
* | Responders now return 204 No Content for API requests without a response ↵José Valim2011-10-261-10/+10
| | | | | | | | body (as in the new scaffold)
* | properly handle lists of lists. Thanks @adrianpike for reporting!Aaron Patterson2011-10-251-0/+9
|/
* ActionPack test fix for RBXArun Agrawal2011-10-242-2/+9
|
* Warnings removed from RequestIdTestArun Agrawal2011-10-221-2/+2
|
* Add ActionDispatch::Session::CacheStore as a generic way of storing sessions ↵Brian Durand2011-10-211-0/+181
| | | | in a cache.
* Make tests run on 1.8.x, add integration setup.José Valim2011-10-191-39/+45
|
* Blah, SecureRandom#uuid is not supported in 1.8.7 -- cant wait for Rails 4.0 ↵David Heinemeier Hansson2011-10-191-1/+1
| | | | to drop compatibility with 1.8.x
* Added X-Request-Id tracking and TaggedLogging to easily log that and other ↵David Heinemeier Hansson2011-10-191-0/+59
| | | | production concerns
* Symbol captures may generate multiple path segments, so don't escape / -> ↵Jeremy Kemper2011-10-131-7/+17
| | | | %2F. Test splat escaping.
* / is allowed in URI fragmentsJeremy Kemper2011-10-131-2/+2
|
* Failing tests for path parameter escapingJeremy Kemper2011-10-131-0/+27
|
* Merge pull request #3314 from macmartine/masterSantiago Pastorino2011-10-131-0/+1
|\ | | | | Remove user-specified delimiter from start when no area code is present (in number_to_phone)
| * remove user-specified delimiter from start when no area code is present (in ↵Mac Martine2011-10-121-0/+1
| | | | | | | | number_to_phone)
* | Merge pull request #2219 from kommen/fix_fragment_caching_squashedSantiago Pastorino2011-10-132-0/+50
|/ | | | Fix fragment caching (squashed commits)
* Support symbol and string actions in AC#respond_to optionsAlexey Vakhov2011-10-111-1/+1
|
* allow shorthand routes with nested optional parametersDiego Carrion2011-10-101-0/+11
|
* JSON responder should return errors with :error rootDenis Odorcic2011-10-101-0/+26
|
* Merge pull request #3262 from subdigital/masterJosé Valim2011-10-091-1/+21
|\ | | | | Add optional host option to force_ssl
| * accept optional :host parameter to force_sslBen Scheirman2011-10-081-1/+21
| |
* | Merge pull request #3196 from avakhov/patch-am-av-tests-2José Valim2011-10-091-0/+16
|\ \ | | | | | | Improve tests method for ActionView::TestCase and ActionMailer::TestCase
| * | normalize arg for ActionView::TestCase tests methodAlexey Vakhov2011-10-031-0/+16
| | |
* | | Fixes an issue when creating a date select with too many options.Liborio Cannici2011-10-081-0/+9
| |/ |/| | | | | | | | | | | | | | | | | Inspired by dlt https://github.com/dlt/rails/commit/9e615634745dc81598e7b880d52411338d3a7a93 Closes #239. Conflicts: actionpack/CHANGELOG
* | just check to see that the first item in the list is an arrayAaron Patterson2011-10-071-0/+9
| |
* | stylesheet_link_tag('/stylesheets/application') and similar helpers doesn't ↵Santiago Pastorino2011-10-051-0/+5
| | | | | | | | throw Sprockets::FileOutsidePaths exception anymore