Sha256: 02f7debc5d7823bc3a40a90fae0f65a5d554b63b66cbe5283ce59b4297618580

Contents?: true

Size: 552 Bytes

Versions: 3

Compression:

Stored size: 552 Bytes

Contents

require "spec_helper"

describe Fontcustom::Manifest do
  context "#initialize" do
    it "should create a manifest file and set manifest[:options] (integration)", :integration => true do
      live_test do |testdir|
        capture(:stdout) do 
          options = Fontcustom::Options.new(:input => "vectors").options
          Fontcustom::Manifest.new(options)
        end
        manifest = File.read File.join(testdir, ".fontcustom-manifest.json")
        manifest.should match(/"options":.+sandbox\/test\/fontcustom/m)
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
fontcustom-1.3.0.beta3 spec/fontcustom/manifest_spec.rb
fontcustom-1.3.0.beta2 spec/fontcustom/manifest_spec.rb
fontcustom-1.3.0.beta spec/fontcustom/manifest_spec.rb