Sha256: 8f8521a1b1c37093c07a0ebf01800484aa22442e3b9bf3f34bc4f2caf2cf1f9e
Contents?: true
Size: 950 Bytes
Versions: 1
Compression:
Stored size: 950 Bytes
Contents
require 'bundler' ; Bundler.require(:default, :development) SimpleCov.start do add_filter '/gorillib/' add_filter '/away/' add_group 'Hanuman', '/hanuman/' end require 'wukong' require 'gorillib/model' require 'gorillib/pathname' require 'gorillib/type/extended' require 'wukong/model/faker' Pathname.register_path(:wukong_root, File.expand_path('..', File.dirname(__FILE__))) Pathname.register_path(:examples, :wukong_root, 'examples') Pathname.register_path(:tmp, :wukong_root, 'tmp') Pathname.register_path(:data, :wukong_root, 'data') Pathname.path_to(:tmp).mkpath Dir[ Pathname.path_to('spec', 'support', '*.rb') ].each{ |f| require f } result = `dot -V 2>&1` rescue nil GRAPHVIZ = ($?.exitstatus == 0) && (result =~ /dot - graphviz version/) puts 'Some specs require graphviz to run -- brew/apt install graphviz, it is pretty awesome' unless GRAPHVIZ RSpec.configure do |config| include WukongTestHelpers end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
wukong-3.0.0.pre | spec/spec_helper.rb |