diff options
author | Mehmet Emin İNAÇ <mehmetemininac@gmail.com> | 2016-02-13 18:03:11 +0200 |
---|---|---|
committer | Mehmet Emin İNAÇ <mehmetemininac@gmail.com> | 2016-02-13 19:25:28 +0200 |
commit | ff8bdafec4d752be1152217a92d4522fdb1e7c10 (patch) | |
tree | e4ab544ce95fb3143f80ab2890bc07d56ede3f16 /actionpack/test | |
parent | f800e00f9a7150f81dc2d27c26e6d1164df776f3 (diff) | |
download | rails-ff8bdafec4d752be1152217a92d4522fdb1e7c10.tar.gz rails-ff8bdafec4d752be1152217a92d4522fdb1e7c10.tar.bz2 rails-ff8bdafec4d752be1152217a92d4522fdb1e7c10.zip |
application/gzip added as default mime type into mime type list
Diffstat (limited to 'actionpack/test')
-rw-r--r-- | actionpack/test/dispatch/mime_type_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/test/dispatch/mime_type_test.rb b/actionpack/test/dispatch/mime_type_test.rb index 149e37bf3d..672b272590 100644 --- a/actionpack/test/dispatch/mime_type_test.rb +++ b/actionpack/test/dispatch/mime_type_test.rb @@ -49,7 +49,7 @@ class MimeTypeTest < ActiveSupport::TestCase test "parse application with trailing star" do accept = "application/*" - expect = [Mime[:html], Mime[:js], Mime[:xml], Mime[:rss], Mime[:atom], Mime[:yaml], Mime[:url_encoded_form], Mime[:json], Mime[:pdf], Mime[:zip]] + expect = [Mime[:html], Mime[:js], Mime[:xml], Mime[:rss], Mime[:atom], Mime[:yaml], Mime[:url_encoded_form], Mime[:json], Mime[:pdf], Mime[:zip], Mime[:gzip]] parsed = Mime::Type.parse(accept) assert_equal expect, parsed end |