Sha256: 2c5df041d3e8e26f3412da6aa3c80f26566a2f7a8d509c1d6e6c39dc1ca04575

Contents?: true

Size: 308 Bytes

Versions: 1

Compression:

Stored size: 308 Bytes

Contents

require 'tc_helper.rb'
class TestMimeTypeUtils < Test::Unit::TestCase
  def setup
    @test_img = File.dirname(__FILE__) + "/../fixtures/image1.jpeg"
  end

  def teardown
  end

  def test_mime_type_utils
    assert_equal(Axlsx::MimeTypeUtils::get_mime_type(@test_img), 'image/jpeg')
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
caxlsx-3.2.0 test/util/tc_mime_type_utils.rb