aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test
Commit message (Collapse)AuthorAgeFilesLines
* 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
* | Do not require railtie as it messes up Rails.application setup.José Valim2011-10-051-2/+1
| |
* | Fix the lame config.action_controller.present? check scattered throughout ↵José Valim2011-10-051-6/+9
| | | | | | | | | | | | | | | | assets_path. Conflicts: actionpack/test/template/sprockets_helper_test.rb
* | Ensure default_asset_host_protocol is respected, closes #2980.José Valim2011-10-051-2/+4
| |
* | :subdomain can now be specified with a value of false in url_for, allowing ↵Kamil Sobieraj2011-10-042-0/+15
|/ | | | for subdomain(s) removal from the host during link generation. Closes #2025
* normalize arg for AC::TestCase tests class methodAlexey Vakhov2011-10-031-0/+16
|
* TestCase should respect the view_assigns API instead of pulling variables on ↵José Valim2011-10-021-0/+20
| | | | its own.
* javascript_path and stylesheet_path should honor the asset pipeliningSantiago Pastorino2011-09-281-2/+18
|
* Make button_to helper support "form" option which is the form attributes.Wen-Tien Chang2011-09-291-0/+4
|
* Correctly override image_path in sprockets rails_helperChristos Zisopoulos2011-09-261-0/+8
|
* Just assert_equal hereSantiago Pastorino2011-09-261-1/+1
|
* Merge pull request #3135 from christos/respect_assets_digest_valueSantiago Pastorino2011-09-261-0/+8
|\ | | | | Give precedence to `config.digest = false` over the existence of manifest.yml asset digests
| * Give precedence to `config.digest = false` over manifest.yml asset digestsChristos Zisopoulos2011-09-261-0/+8
| |
* | image_tag should use /assets if asset pipelining is turned on. Closes #3126Santiago Pastorino2011-09-261-0/+4
|/