Sha256: f4dfc05a50f75f226ddb4e75722f99eb1b50c355b280671a33c8c227c71ad184

Contents?: true

Size: 303 Bytes

Versions: 1

Compression:

Stored size: 303 Bytes

Contents

require 'test_helper'

describe Prawn::Emoji::Image do
  let(:emojis) { %w( 😀 © 🇯🇵 ) }

  it 'possible to find the image file' do
    emojis.each do |emoji|
      emoji_image = Prawn::Emoji::Image.new(emoji)

      assert File.exist?(emoji_image.path), "#{emoji}  not found"
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
prawn-emoji-2.0.0 test/prawn/emoji/image_test.rb