Permalink
Browse files

Fix tests: Remove ogx mime type from tests

  • Loading branch information...
guilleiguaran committed Nov 29, 2017
1 parent d41d586 commit e3d658e319bd0ab179fc0e12329ed4dc18bce584
Showing with 1 addition and 1 deletion.
  1. +1 −1 actionpack/test/dispatch/mime_type_test.rb
@@ -51,7 +51,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], Mime[:gzip], Mime[:ogx]]
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.map(&:to_s).sort!, parsed.map(&:to_s).sort!
end

0 comments on commit e3d658e

Please sign in to comment.