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
Aaron Patterson 77a09218f6 only write the jar if the response isn't committed
when streaming responses, we need to make sure the cookie jar is written
to the headers before returning up the stack. This commit introduces a
new method on the response object that writes the cookie jar to the
headers as the response is committed.  The middleware and test framework
will not write the cookie headers if the response has already been
committed.

fixes #14352
2014-03-12 16:07:26 -07:00
..
controller_fixtures
mime No variant should also be picked up by variant.any if variant.none is not defined (just like any other variant) 2014-02-13 20:44:10 +01:00
new_base Do note remove Content-Type when render :body 2014-03-05 10:33:52 -05:00
parameters Simple Sungularize ActionController::UnpermittedParameters error in case when only 1 parameter is unpermitted. 2014-02-24 13:25:38 +04:00
request
action_pack_assertions_test.rb Prefer assert_raise instead of flunk + rescue to test for exceptions 2013-12-19 09:20:51 -02:00
assert_select_test.rb Load AV::Layout to AM::Base in railties 2013-08-25 11:39:11 +02:00
base_test.rb Remove ActionController::RecordIdentifier was deprecated. 2013-06-01 23:22:12 +09:00
caching_test.rb Variants in ActionView::Digestor 2014-03-04 15:02:58 +01:00
content_type_test.rb
default_url_options_with_before_action_test.rb
filters_test.rb Tests that skips a controller filters that was set up using a class 2014-02-06 20:11:40 +01:00
flash_hash_test.rb Convert FlashHash in a Hash with indifferent access 2014-02-11 01:54:17 -08:00
flash_test.rb Fixed broken flash tests 2014-02-11 01:54:17 -08:00
force_ssl_test.rb
helper_test.rb pass app config to controller helper proxy 2013-10-24 08:03:31 +03:00
http_basic_authentication_test.rb
http_digest_authentication_test.rb Typos. return -> returns. [ci skip] 2013-12-03 13:31:36 -02:00
http_token_authentication_test.rb Remove unused argument. 2014-01-24 22:25:15 -03:00
integration_test.rb Skip Rack applications and redirects when generating urls 2013-07-16 13:39:17 +01:00
live_stream_test.rb only write the jar if the response isn't committed 2014-03-12 16:07:26 -07:00
localized_templates_test.rb Fix header Content-Type: #<Mime::NullType:...> in localized template 2013-12-03 07:46:39 +01:00
log_subscriber_test.rb Clear filtered request attributes between requests in tests 2014-01-27 13:30:28 +00:00
output_escaping_test.rb
params_wrapper_test.rb Do not discard query parameters on requests that use wrap_parameters 2014-01-30 18:20:55 -05:00
permitted_params_test.rb
redirect_test.rb
render_js_test.rb CSRF protection from cross-origin <script> tags 2013-12-17 13:14:17 -07:00
render_json_test.rb CSRF protection from cross-origin <script> tags 2013-12-17 13:14:17 -07:00
render_other_test.rb
render_test.rb Remove missing integration points of AV extraction 2013-12-05 11:39:56 +01:00
render_xml_test.rb
request_forgery_protection_test.rb Make CSRF failure logging optional/configurable. 2014-03-05 11:31:57 +11:00
required_params_test.rb unify param.require tests 2014-01-23 22:28:24 -05:00
rescue_test.rb
resources_test.rb fixed-case when invalid action name has passed 2013-11-28 03:14:19 +05:30
routing_test.rb Prefer assert_raise instead of flunk + rescue to test for exceptions 2013-12-19 09:20:51 -02:00
runner_test.rb
selector_test.rb
send_file_test.rb Merge branch 'master' into laurocaetano-fix_send_file 2014-01-10 11:00:30 -08:00
show_exceptions_test.rb
streaming_test.rb
test_case_test.rb Fix controller test not resetting @_url_options 2014-02-26 10:39:44 -08:00
url_for_integration_test.rb
url_for_test.rb Remove outdated TODO from url_for test, this test was fixed in 900a2d30 2014-02-09 04:20:56 +02:00
url_rewriter_test.rb
webservice_test.rb Eliminate JSON.{parse,load,generate,dump} and def to_json 2013-11-05 22:26:45 -08:00