Skip to content
Browse files

CI: show all headers for diagnosis

  • Loading branch information...
1 parent efec9b2 commit d91d6fe15f14f089349472f9b1422c4ef0f4c4d9 @jeremy jeremy committed Apr 9, 2010
Showing with 3 additions and 3 deletions.
  1. +2 −2 actionpack/test/controller/render_test.rb
  2. +1 −1 actionpack/test/controller/send_file_test.rb
View
4 actionpack/test/controller/render_test.rb
@@ -1590,7 +1590,7 @@ def setup
def test_render_blank_body_shouldnt_set_etag
get :blank_response
- assert !@response.etag?, @response.etag.inspect
+ assert !@response.etag?, @response.headers.inspect
end
def test_render_200_should_set_etag
@@ -1609,7 +1609,7 @@ def test_render_against_etag_request_should_304_when_match
def test_render_against_etag_request_should_have_no_content_length_when_match
@request.if_none_match = etag_for("hello david")
get :render_hello_world_from_variable
- assert !@response.headers.has_key?("Content-Length"), @response.headers['Content-Length'].inspect
+ assert !@response.headers.has_key?("Content-Length"), @response.headers.inspect
end
def test_render_against_etag_request_should_200_when_no_match
View
2 actionpack/test/controller/send_file_test.rb
@@ -73,7 +73,7 @@ def test_x_sendfile_header
assert_equal @controller.file_path, response.headers['X-Sendfile']
assert response.body.blank?
- assert !response.etag?, response.etag.inspect
+ assert !response.etag?, response.headers.inspect
end
def test_data

0 comments on commit d91d6fe

Please sign in to comment.
Something went wrong with that request. Please try again.