1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/actionpack/test/controller
Piotr Sarnacki e4aaac1301 Fix sorting of helpers from different paths
When more than one directory for helpers is provided to a controller, it
should preserver the order of directories. Given 2 paths:

    MyController.helpers_paths = ["dir1/helpers", "dir2/helpers"]

helpers from dir1 should be loaded first. Before this commit, all
helpers were mixed and then sorted alphabetically, which essentially
would require to rename helpers to get desired order.

This is a problem especially for engines, where you would like to be
able to predict accurately which engine helpers will load first.

(closes #6496)
2012-05-28 06:58:48 +02:00
..
controller_fixtures
new_base mispelling errors in render_text_test.rb and sqlite_specific_schema 2012-05-12 13:19:28 +02:00
request
action_pack_assertions_test.rb Improve assert_template layout checking 2012-05-04 23:31:09 +04:00
assert_select_test.rb
base_test.rb
caching_test.rb Escape the extension when normalizing the action cache path. 2012-05-20 19:07:05 +01:00
capture_test.rb
content_type_test.rb
default_url_options_with_filter_test.rb
filters_test.rb
flash_hash_test.rb
flash_test.rb
force_ssl_test.rb
helper_test.rb Fix sorting of helpers from different paths 2012-05-28 06:58:48 +02:00
http_basic_authentication_test.rb
http_digest_authentication_test.rb
http_token_authentication_test.rb
integration_test.rb Refactor the handling of default_url_options in integration tests 2012-05-10 20:42:57 +01:00
layout_test.rb
localized_templates_test.rb
log_subscriber_test.rb
mime_responds_test.rb Raise a rescuable exception when Rails doesn't know what to do with the format, rather than responding with a head :not_acceptable (406) 2012-05-06 00:27:45 -05:00
output_escaping_test.rb
params_wrapper_test.rb Show in log correct wrapped keys 2012-05-20 09:33:56 +04:00
record_identifier_test.rb
redirect_test.rb
render_js_test.rb
render_json_test.rb Add changelog entry for jsonp mimetype change, fix failing test 2012-04-29 12:01:05 -03:00
render_other_test.rb
render_test.rb Add failing test re #3436 which demonstrates content_type is not respected when using the :head method/shortcut 2012-05-08 03:11:46 -04:00
render_xml_test.rb
request_forgery_protection_test.rb
rescue_test.rb
resources_test.rb Raise Assertion instead of RoutingError for routing assertion failures. 2012-05-20 06:21:32 -05:00
routing_test.rb Merge pull request #2549 from trek/RoutingErrorForMissingControllers 2012-05-21 11:00:43 -07:00
runner_test.rb
selector_test.rb
send_file_test.rb allow send_file/send_data to skip disposition header, closes #2973 2012-04-30 10:12:55 +03:00
show_exceptions_test.rb
sweeper_test.rb
test_case_test.rb Add failing test case for #6053 2012-04-29 20:20:59 +01:00
url_for_integration_test.rb
url_for_test.rb
url_rewriter_test.rb
view_paths_test.rb
webservice_test.rb