Skip to content

Commit

Permalink
The file command changed its MIME type for empty files.
Browse files Browse the repository at this point in the history
  • Loading branch information
mike-burns committed Jun 6, 2012
1 parent dd99e70 commit c96365d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/io_adapters/file_adapter_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c96365d

Please sign in to comment.