spec/fontcustom/cli_spec.rb in fontcustom-1.3.0.beta3 vs spec/fontcustom/cli_spec.rb in fontcustom-1.3.0.beta4
- old
+ new
@@ -6,10 +6,10 @@
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":.+sandbox\/test\/fontcustom\/fontcustom_.+\.ttf"/m)
+ File.read(manifest).should match(/"fonts":.+fontcustom\/fontcustom_.+\.ttf"/m)
end
end
end
end