Sha256: 96f36bdbb46040b2a44e926df2f2956690eedaf04b87104a83a67a6fb2ead32d
Contents?: true
Size: 373 Bytes
Versions: 3
Compression:
Stored size: 373 Bytes
Contents
require 'test_helper' require 'rack' class Marcel::MimeType::MagicAndDeclaredTypeTest < Marcel::TestCase each_content_type_fixture('name') do |file, name, content_type| test "correctly returns #{content_type} for #{name} given both file and declared type" do assert_equal content_type, Marcel::MimeType.for(file, declared_type: content_type) end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
marcel-0.3.2 | test/magic_and_declared_type_test.rb |
marcel-0.3.1 | test/magic_and_declared_type_test.rb |
marcel-0.3.0 | test/magic_and_declared_type_test.rb |