diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2007-05-15 23:57:16 +0000 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2007-05-15 23:57:16 +0000 |
commit | 73fbf7771bbfc6c3c8c4ddd8f4f84eb6bfac504d (patch) | |
tree | 657b1167446312f7f222d0a53982b77ae5fdf392 /actionpack/test/controller | |
parent | 9d1f1a86552417a3e4624a93d62a5dc73eb13826 (diff) | |
download | rails-73fbf7771bbfc6c3c8c4ddd8f4f84eb6bfac504d.tar.gz rails-73fbf7771bbfc6c3c8c4ddd8f4f84eb6bfac504d.tar.bz2 rails-73fbf7771bbfc6c3c8c4ddd8f4f84eb6bfac504d.zip |
Add multipart and url-encoded form mime types.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6744 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/test/controller')
-rw-r--r-- | actionpack/test/controller/mime_type_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/test/controller/mime_type_test.rb b/actionpack/test/controller/mime_type_test.rb index 1c944697d4..ed8f0357f4 100644 --- a/actionpack/test/controller/mime_type_test.rb +++ b/actionpack/test/controller/mime_type_test.rb @@ -39,7 +39,7 @@ class MimeTypeTest < Test::Unit::TestCase end def test_type_convenience_methods - types = [:html, :xml, :png, :pdf, :yaml] + types = [:html, :xml, :png, :pdf, :yaml, :url_encoded_form] types.each do |type| mime = Mime.const_get(type.to_s.upcase) assert mime.send("#{type}?"), "Mime::#{type.to_s.upcase} is not #{type}?" @@ -51,4 +51,4 @@ class MimeTypeTest < Test::Unit::TestCase assert Mime::ALL.all?, "Mime::ALL is not all?" assert Mime::ALL.html?, "Mime::ALL is not html?" end -end
\ No newline at end of file +end |