Sha256: 46954358db4ad939e1457d0af60c53fefb65b20f60eb82b8f8de9dd6afd27fed
Contents?: true
Size: 738 Bytes
Versions: 12
Compression:
Stored size: 738 Bytes
Contents
$LOAD_PATH.push File.expand_path("../lib", File.dirname(__FILE__)) Bundler.require :default, :test require 'pp' require 'engineyard-serverside' module EY def self.dna_json=(j) @dna_json = j; @node = nil j end module LoggedOutput def info(_) end def logged_system(cmd) system("#{cmd} 2>/dev/null") end end class Strategies::Git def short_log_message(_) "" end end end FIXTURES_DIR = File.expand_path("../fixtures", __FILE__) GITREPO_DIR = "#{FIXTURES_DIR}/gitrepo" FileUtils.rm_rf GITREPO_DIR if File.exists? GITREPO_DIR Kernel.system "tar xzf #{GITREPO_DIR}.tar.gz -C #{FIXTURES_DIR}" Spec::Runner.configure do |config| config.before(:all) do EY.dna_json = {}.to_json end end
Version data entries
12 entries across 12 versions & 1 rubygems