Sha256: aa857430a4bb9547bb1b5de14566b379ec47addd5de3bfe6cb2198c4b9951e27
Contents?: true
Size: 309 Bytes
Versions: 3
Compression:
Stored size: 309 Bytes
Contents
require 'test_helper' require 'rack' class Marcel::MimeType::NameTest < Marcel::TestCase each_content_type_fixture('name') do |file, name, content_type| test "gets type for #{content_type} by filename from #{name}" do assert_equal content_type, Marcel::MimeType.for(name: name) end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
marcel-0.3.2 | test/name_test.rb |
marcel-0.3.1 | test/name_test.rb |
marcel-0.3.0 | test/name_test.rb |