Sha256: 1395b164ca96726dbb0fd034f9c570a08e5be66f4f7401c03ce82833e6a47ac1

Contents?: true

Size: 297 Bytes

Versions: 4

Compression:

Stored size: 297 Bytes

Contents

require File::join(File::dirname(__FILE__), 'test_helper')

class FontsTest < MiniTest::Unit::TestCase

  def test_get_fonts
    fonts = MojoMagick::get_fonts
    assert fonts.is_a? Array
    assert fonts.length > 1
    assert fonts.first.name
    assert (fonts.first.name.is_a? String)
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
mojo_magick-0.5.6 test/fonts_test.rb
mojo_magick-0.5.5 test/fonts_test.rb
mojo_magick-0.5.4 test/fonts_test.rb
mojo_magick-0.5.3 test/fonts_test.rb