Sha256: 166410dce812ded80553829d33f50ade17b581b6a6f21981bdff53b5aa838434
Contents?: true
Size: 550 Bytes
Versions: 3
Compression:
Stored size: 550 Bytes
Contents
require 'cheapredwine/ttx' include CheapRedWine describe TTX do it "has configuration options" do TTX.configure do |config| config.output_folder = 'spec/fixtures/ttx' end TTX.configuration.output_folder.should eq 'spec/fixtures/ttx' end it "generates a ttx parser from a font file" do font = File.new('spec/fixtures/ttx/hobo.otf') TTX.configuration.output_folder = 'spec/fixtures/ttx' parser = TTX.for_font(font) parser.class.should eq TTX::Parser parser.family_name.should eq "Hobo Std" end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
cheapredwine-0.1.1 | spec/ttx_spec.rb |
cheapredwine-0.1.0 | spec/ttx_spec.rb |
cheapredwine-0.0.2 | spec/ttx_spec.rb |