unfreeze rails

This commit is contained in:
Reinier Balt 2008-11-28 08:16:04 +01:00
parent bd2b410c7b
commit fe5f962dcf
1493 changed files with 1 additions and 191145 deletions

View file

@ -1,14 +0,0 @@
require 'abstract_unit'
class HeaderTest < Test::Unit::TestCase
def setup
@headers = ActionController::Http::Headers.new("HTTP_CONTENT_TYPE"=>"text/plain")
end
def test_content_type_works
assert_equal "text/plain", @headers["Content-Type"]
assert_equal "text/plain", @headers["content-type"]
assert_equal "text/plain", @headers["CONTENT_TYPE"]
assert_equal "text/plain", @headers["HTTP_CONTENT_TYPE"]
end
end