Commit c96365d5 by Mike Burns

The file command changed its MIME type for empty files.

parent dd99e70d
......@@ -91,7 +91,7 @@ class FileAdapterTest < Test::Unit::TestCase
teardown { @file.close }
should "provide correct mime-type" do
assert_equal "application/x-empty", @subject.content_type
assert_match %r{.*/x-empty}, @subject.content_type
end
end
end
......
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