mirror of
https://github.com/TracksApp/tracks.git
synced 2026-01-28 11:46:10 +01:00
unfreeze rails 2.3.9
This commit is contained in:
parent
6443adac78
commit
dea6dbe4da
1916 changed files with 0 additions and 240923 deletions
|
|
@ -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
|
||||
Loading…
Add table
Add a link
Reference in a new issue