Sha256: ed4a02402906b45b0ab786324d6c0607374aea107327cc9502fa2fbaf97e1e95
Contents?: true
Size: 557 Bytes
Versions: 3
Compression:
Stored size: 557 Bytes
Contents
require 'cheapredwine/ttx/extractor' include CheapRedWine::TTX describe Extractor do before do font_file = File.new('spec/fixtures/extractor/hobo.otf') @extractor = Extractor.new(font_file, 'spec/fixtures/extractor') end after do File.delete('spec/fixtures/extractor/hobo.ttx') end it "converts font files to readable ttx file" do File.exist?('spec/fixtures/extractor/hobo.ttx').should be true end it "has a reference to the ttx file" do @extractor.ttx_file.path.should eq 'spec/fixtures/extractor/hobo.ttx' end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
cheapredwine-0.1.1 | spec/ttx/extrator_spec.rb |
cheapredwine-0.1.0 | spec/ttx/extrator_spec.rb |
cheapredwine-0.0.2 | spec/ttx/extrator_spec.rb |