Sha256: 556aba82f196868216e71954e8c40b857690840483b8857ceadf4afbc081a38e

Contents?: true

Size: 537 Bytes

Versions: 2

Compression:

Stored size: 537 Bytes

Contents

require 'yaml'
require 'pathname'
require 'furoshiki/util'

shared_context 'generic furoshiki config' do
  before :all do
    @config_filename = Pathname.new(__FILE__).join('../../fixtures/config.yaml').cleanpath
    yaml = YAML.load(@config_filename.open)
    @custom_config = Object.new.extend(Furoshiki::Util).deep_symbolize_keys(yaml)
  end
end

shared_context 'generic furoshiki project' do
  before :all do
    @app_dir = Pathname.new(__FILE__).join('../../fixtures/test_project')
    @output_dir = @app_dir.join('pkg')
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
furoshiki-0.3.1 spec/support/shared_config.rb
furoshiki-0.3.0 spec/support/shared_config.rb