Sha256: be1d6fab39a62745af3a9fd4111faa3aca51fad43abdcb9e1b06922f4e4668bb
Contents?: true
Size: 1015 Bytes
Versions: 1
Compression:
Stored size: 1015 Bytes
Contents
require 'given_filesystem/spec_helpers' require File.expand_path('../../lib/inqlude', __FILE__) def test_data_path file_name File.expand_path(File.join('../data/', file_name), __FILE__) end def create_manifest name, release_date, version m = Hash.new m["schema_type"] = "release" m["name"] = name m["version"] = version m["release_date" ] = release_date m["description"] = "#{name} is a nice library." m end def create_generic_manifest name m = Hash.new m["schema_type"] = "generic" m["name"] = name m["description"] = "#{name} is a nice library." m end shared_context "manifest_files" do let(:settings) do s = Settings.new s.manifest_path = File.expand_path('spec/data/') s.offline = true s end let(:awesomelib_manifest_file) do "awesomelib/awesomelib.2013-09-08.manifest" end let(:newlib_manifest_file) do "newlib/newlib.manifest" end let(:proprietarylib_manifest_file) do "proprietarylib/proprietarylib.2013-12-22.manifest" end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
inqlude-0.7.0 | spec/spec_helper.rb |