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
Andrew White 1555a1800e Skip Rack applications and redirects when generating urls
When generating an unnamed url (i.e. using `url_for` with an options
hash) we should skip anything other than standard Rails routes otherwise
it will match the first mounted application or redirect and generate a
url with query parameters rather than raising an error if the options
hash doesn't match any defined routes.

Fixes #8018
2013-07-16 13:39:17 +01:00
..
controller_fixtures
new_base Fix typos in AP: "overriden" => "overridden" 2013-03-30 15:17:08 -03:00
parameters Rack::Test::UploadedFile is a permitted scalar 2013-02-21 11:00:26 -03:00
request cleaning up some warnings on 1.9.3 2011-02-07 16:44:27 -08:00
action_pack_assertions_test.rb Fix warnings 2013-03-07 21:32:51 -03:00
assert_select_test.rb Move background jobs to the 'jobs' branch until fully baked. Not shipping with Rails 4.0. 2012-12-21 16:29:47 -08:00
base_test.rb Remove ActionController::RecordIdentifier was deprecated. 2013-06-01 23:22:12 +09:00
caching_test.rb Remove page_cache_extension deprecated method 2013-07-01 22:09:11 -05:00
capture_test.rb Remove rescue_action from compatibility module and tests 2012-01-17 10:04:37 -02:00
content_type_test.rb Remove deprecated default_charset= from AC::Base 2012-01-17 10:04:39 -02:00
default_url_options_with_before_action_test.rb use _action callbacks in actionmailer 2012-12-08 10:21:20 -05:00
filters_test.rb Merge pull request #10591 from acapilleri/cond_callback_test 2013-05-15 17:45:50 -07:00
flash_hash_test.rb Store FlashHashes in the session as plain hashes rather than custom objects with unstable class names and instance variables. 2012-11-09 11:55:18 +00:00
flash_test.rb Remove comments about removing LegacyKeyGenerator in 4.1 2013-04-03 08:28:37 -05:00
force_ssl_test.rb Add support for extra options to force_ssl 2013-04-25 13:45:52 +01:00
helper_test.rb stop to_sing method names 2012-06-06 19:33:38 +09:00
http_basic_authentication_test.rb update documentation and code to use _action callbacks 2012-12-07 14:46:06 -05:00
http_digest_authentication_test.rb Remove comments about removing LegacyKeyGenerator in 4.1 2013-04-03 08:28:37 -05:00
http_token_authentication_test.rb Do not use the same tests description 2012-12-31 13:57:24 -03:00
integration_test.rb Skip Rack applications and redirects when generating urls 2013-07-16 13:39:17 +01:00
layout_test.rb Refactored to remove unused variable 2013-03-28 15:58:03 +05:30
live_stream_test.rb Exception handling for controllers using ActionController::Live 2013-03-18 10:41:24 -06:00
localized_templates_test.rb Include I18n fallbacks in :locale lookup context 2013-03-16 21:27:13 -03:00
log_subscriber_test.rb Removed :if and :unless from fragment cache option in favour of 2012-12-14 17:51:52 +01:00
mime_responds_test.rb fix respond_to without blocks not working if one of the blocks is all 2013-02-24 11:47:20 -05:00
output_escaping_test.rb remove ancient TODOs [ci skip]. 2013-03-18 16:42:08 +01:00
params_wrapper_test.rb start using options object 2012-11-13 16:35:15 -08:00
permitted_params_test.rb Change tainted/untainted wording to permitted/forbidden 2012-09-16 23:58:21 -05:00
redirect_test.rb Remove default match without specified method 2012-04-24 22:52:26 -05:00
render_js_test.rb removes support for render :update 2011-04-13 13:23:17 +02:00
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 removes support for render :update 2011-04-13 13:23:17 +02:00
render_test.rb Fix undefined method `ref' for nil:NilClass for bad accept headers 2013-06-19 06:29:52 -07:00
render_xml_test.rb Remove default match without specified method 2012-04-24 22:52:26 -05:00
request_forgery_protection_test.rb Fix #9168 Initialize NullCookieJar with all options needed for KeyGenerator 2013-02-08 22:22:16 +04:00
required_params_test.rb Remove warnings: "(...) interpreted as grouped expression" 2013-01-16 09:41:08 -02:00
rescue_test.rb use _action instead of _filter callbacks 2012-12-07 15:24:56 -05:00
resources_test.rb Missing or unneeded require extract_options 2013-02-01 12:10:58 +09:00
routing_test.rb fix request methods test 2013-03-31 22:11:23 +05:30
runner_test.rb AP tests should inherit from AS::TestCase 2012-01-05 17:05:44 -08:00
selector_test.rb Move action_controller/vendor/html-scanner to action_view 2012-08-28 10:51:03 +02:00
send_file_test.rb return Mime::NullType if format is unknown 2012-12-22 09:18:08 +01:00
show_exceptions_test.rb Fix that JSON and XML exception responses should give the HTTP error message for their status, by default, not the message from the underlying exception 2013-05-08 21:28:50 -07:00
streaming_test.rb remove dead test 2012-07-29 16:00:50 -07:00
test_case_test.rb Re-remove deprecated API. 2013-06-28 01:42:07 +09:00
url_for_integration_test.rb Remove default match without specified method 2012-04-24 22:52:26 -05:00
url_for_test.rb Passing subdomain: '' to url_for removes the subdomain (instead of adding a leading .) 2013-04-18 17:12:40 +01:00
url_rewriter_test.rb this test is not a controller test, so switch to AS::TC 2012-07-28 20:30:52 -07:00
view_paths_test.rb update documentation and code to use _action callbacks 2012-12-07 14:46:06 -05:00
webservice_test.rb Remove XML Parser from ActionDispatch 2013-02-20 08:46:44 -05:00