Sha256: e5fb8a3d697d89947302408c06efc44e5cc0e2eebce6b6dd9864c48e99a614f6
Contents?: true
Size: 564 Bytes
Versions: 5
Compression:
Stored size: 564 Bytes
Contents
require "spec_helper" require "fontcustom/cli" describe Fontcustom::CLI do context "#compile" do it "should generate fonts and templates (integration)", :integration => true do live_test do |testdir| Fontcustom::CLI.start ["compile", "vectors", "--quiet"] manifest = File.join testdir, ".fontcustom-manifest.json" Dir.glob(File.join(testdir, "fontcustom", "fontcustom_*\.{ttf,svg,woff,eot}")).length.should == 4 File.read(manifest).should match(/"fonts":.+fontcustom\/fontcustom_.+\.ttf"/m) end end end end
Version data entries
5 entries across 5 versions & 1 rubygems