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
Bradford Folkens bd559b0068 Fix trouble using :subdomain in development environment when using 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'
2011-11-08 07:52:35 -06:00
..
controller_fixtures
new_base Deprecate passing the template handler in the template name. 2011-09-22 15:37:38 +02:00
request cleaning up some warnings on 1.9.3 2011-02-07 16:44:27 -08:00
action_pack_assertions_test.rb remove unused user_controller from test 2011-06-08 22:49:38 -04:00
addresses_render_test.rb Fix isolated running of AddressesTest 2009-09-06 21:42:05 -05:00
assert_select_test.rb fix assert_select_email to work on non-multipart emails as well as converting the Mail::Body to a string to prevent errors. 2011-08-11 17:49:31 -05:00
base_test.rb Removed deprecated RouteSet API, still many tests fail 2010-09-05 13:44:36 +02:00
caching_test.rb Ensure that the format isn't applied twice to the cache key, else it becomes impossible to target with expire_action. 2011-10-31 15:10:07 -04:00
capture_test.rb Test correct method behaviour. 2010-09-29 12:42:51 -03:00
content_type_test.rb add missing ensure 2011-06-10 02:48:44 -04:00
default_url_options_with_filter_test.rb Fix the issue where default_url_options is being cached on test cases. Closes #1872. Closes #2031. 2011-08-01 11:49:24 +02:00
filters_test.rb Tests only after filters in cache sweepers 2011-06-22 18:00:46 +02:00
flash_hash_test.rb many args does not make sense with the current implementation because of how use works 2011-04-06 18:13:16 -07:00
flash_test.rb Don't reuse a closed flash when using now 2011-04-20 04:32:26 +08:00
force_ssl_test.rb accept optional :host parameter to force_ssl 2011-10-08 18:38:02 -05:00
helper_test.rb Removing extra requires from the test. Already loaded in abstract_unit. 2011-07-31 23:36:21 +05:30
http_basic_authentication_test.rb Eliminate newlines in basic auth. fixes #2882 2011-09-06 17:25:20 -07:00
http_digest_authentication_test.rb Rename config.cookie_secret to config.secret_token and pass it as configuration in request.env. This is another step forward removing global configuration. 2010-04-05 12:00:24 +02:00
http_token_authentication_test.rb Deletes trailing whitespaces (over text files only find * -type f -exec sed 's/[ \t]*$//' -i {} \;) 2010-08-14 04:12:33 -03:00
integration_test.rb Revert "Make process reuse the env var passed as argument" 2011-09-24 17:19:42 -03:00
layout_test.rb Deprecate passing the template handler in the template name. 2011-09-22 15:37:38 +02:00
localized_templates_test.rb Fixed that default locale templates should be used if the current locale template is missing [DHH] 2010-04-08 18:11:26 -07:00
log_subscriber_test.rb Ensure that status codes are logged properly 2011-07-18 13:42:07 -04:00
mime_responds_test.rb Responders now return 204 No Content for API requests without a response body (as in the new scaffold) 2011-10-26 09:31:56 +02:00
output_escaping_test.rb code gardening: we have assert_(nil|blank|present), more concise, with better default failure messages - let's use them 2010-08-17 03:32:11 +02:00
params_wrapper_test.rb Use lazy load hooks to set parameter wrapping configuration. This means that it doesn't force Action Controller / Active Record to load, but it doesn't fail if they have already loaded. Thanks @josevalim for the hint. 2011-08-16 19:14:20 +01:00
record_identifier_test.rb moving fake model to the correct file 2010-10-03 14:40:06 -07:00
redirect_test.rb Methods like status and location are interfering with redirect_to [Closes #2511] 2011-08-14 19:00:30 +02:00
render_js_test.rb removes support for render :update 2011-04-13 13:23:17 +02:00
render_json_test.rb render_to_string must ensure that response_body 2011-01-25 20:14:03 +01:00
render_other_test.rb removes support for render :update 2011-04-13 13:23:17 +02:00
render_test.rb Deprecate passing the template handler in the template name. 2011-09-22 15:37:38 +02:00
render_xml_test.rb Removed deprecated RouteSet API, still many tests fail 2010-09-05 13:44:36 +02:00
request_forgery_protection_test.rb Use ensure instead of rescue 2011-09-10 11:01:22 -07:00
rescue_test.rb removing more duplicate code 2010-10-01 18:05:59 -07:00
resources_test.rb all routes can be stored in the Journey Routes object 2011-09-12 16:50:48 -07:00
routing_test.rb moving test_generate to an integration test with one assert per test 2011-08-12 15:55:00 -07:00
runner_test.rb adding a test for the runner module [#6027 state:resolved] 2010-11-22 15:57:03 -08:00
selector_test.rb Rename duplicated test name. 2010-09-27 11:19:24 -03:00
send_file_test.rb Make send_file guess content-type from file extension, if type wasn't supplied (Issue #1847). Update tests & documentation. 2011-06-28 06:58:28 +02:00
test_test.rb normalize arg for AC::TestCase tests class method 2011-10-03 12:12:07 +04:00
url_for_integration_test.rb moving test_generate to an integration test with one assert per test 2011-08-12 15:55:00 -07:00
url_for_test.rb Fix trouble using :subdomain in development environment when using numeric addresses. 2011-11-08 07:52:35 -06:00
url_rewriter_test.rb / is allowed in URI fragments 2011-10-13 21:41:30 -07:00
view_paths_test.rb removed deprecated methods, and related tests, from ActionPack 2011-05-24 23:38:59 +02:00
webservice_test.rb try not to use assert_blank when nil will would 2011-06-11 03:11:05 -04:00