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
Armand du Plessis c62abed8ca Collapsed dual checks (one for content headers and one for content) into a single check.
Rails includes a single character body to a head(:no_content) response to work around an old Safari bug where headers were ignored if no body sent.

This patch brings the behavior slightly closer to spec if :no_content/204 is explicity requested via a head only response.

Status comparison done on symbolic and numeric values

Not returning any content when responding with head and limited to a status code that explicitly states no content will be returned - 100..199, 204, 205, 304.
2012-08-02 16:01:08 -07:00
..
abstract add lazy look up in abstract controller's translate method 2012-07-18 10:33:14 +03:00
activerecord Merge pull request #6588 from nbibler/polymorphic_to_model 2012-06-01 16:42:09 +02:00
assertions test response assertions 2012-01-06 11:20:26 -08:00
controller Collapsed dual checks (one for content headers and one for content) into a single check. 2012-08-02 16:01:08 -07:00
dispatch load active_support/core_ext/object/inclusion in active_support/rails 2012-08-02 21:59:22 +02:00
fixtures Remove deprecation warning, since scoped waas deprecated 2012-07-29 16:11:48 -03:00
lib/controller Add HTML5 input[type="color"] helper 2012-05-21 17:23:48 -03:00
metal ActionController::Caching depends on RackDelegation and AbstractController::Callbacks 2012-06-13 16:18:03 -03:00
routing add some tests, yay! 2012-02-22 11:05:03 -08:00
template load active_support/core_ext/object/inclusion in active_support/rails 2012-08-02 21:59:22 +02:00
tmp
abstract_unit.rb Remove ActionDispatch::Head middleware in favor of Rack::Head 2012-07-23 14:34:13 -03:00
active_record_unit.rb
ts_isolated.rb Don't use assert_block method. It will be deprecated. 2012-05-20 00:14:40 +09:00