Commit a7313e91 by Dan Collis-Puro Committed by Jon Yurek

Remove test invalidated by better content-type detection semantics

parent 7b5a71a1
......@@ -69,17 +69,6 @@ class FileAdapterTest < Test::Unit::TestCase
end
end
context "file with multiple possible x-types but no official type" do
setup do
MIME::Types.stubs(:type_for).returns([MIME::Type.new('image/x-mp4'), MIME::Type.new('image/x-video')])
@subject = Paperclip.io_adapters.for(@file)
end
should "return the first" do
assert_equal "image/x-mp4", @subject.content_type
end
end
context "file with content type derived from file command on *nix" do
setup do
MIME::Types.stubs(:type_for).returns([])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment