mirror of
https://github.com/TracksApp/tracks.git
synced 2026-02-23 15:44:09 +01:00
freeze rails 2.3.9
This commit is contained in:
parent
ee751a5ced
commit
6b95deef85
1916 changed files with 240923 additions and 0 deletions
14
vendor/rails/actionpack/test/controller/header_test.rb
vendored
Normal file
14
vendor/rails/actionpack/test/controller/header_test.rb
vendored
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
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