Sha256: cc323402b77dfa17999107c9dcdd03e0dd0d65c2c2b97e018353e299c17038b9

Contents?: true

Size: 293 Bytes

Versions: 6

Compression:

Stored size: 293 Bytes

Contents

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

class FontsTest < Test::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

6 entries across 6 versions & 1 rubygems

Version Path
mojo_magick-0.5.2 test/fonts_test.rb
mojo_magick-0.5.1 test/fonts_test.rb
mojo_magick-0.4.8 test/fonts_test.rb
mojo_magick-0.4.7 test/fonts_test.rb
mojo_magick-0.4.6 test/fonts_test.rb
mojo_magick-0.4.5 test/fonts_test.rb