Sha256: 867c311964cd69a14935d2efb6b7e5e88eea356422bd4bf0332e2b29a1202578
Contents?: true
Size: 751 Bytes
Versions: 2
Compression:
Stored size: 751 Bytes
Contents
require 'bundler/setup' ; Bundler.require(:default, :development, :test) require 'rspec/autorun' if ENV['GORILLIB_COV'] require 'simplecov' SimpleCov.start end GORILLIB_ROOT_DIR = File.expand_path(File.join(File.dirname(__FILE__),'..')) def GORILLIB_ROOT_DIR *paths File.join(::GORILLIB_ROOT_DIR, *paths) end $LOAD_PATH.unshift(GORILLIB_ROOT_DIR('lib')) $LOAD_PATH.unshift(GORILLIB_ROOT_DIR('spec/support')) require_relative 'support/gorillib_test_helpers' Dir[GORILLIB_ROOT_DIR('spec/support/matchers/*.rb')].each {|f| require f} Dir[GORILLIB_ROOT_DIR('spec/support/shared_examples/*.rb')].each {|f| require f} RSpec.configure do |config| include Gorillib::TestHelpers config.treat_symbols_as_metadata_keys_with_true_values = true end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
gorillib-0.5.0 | spec/spec_helper.rb |
gorillib-0.4.2 | spec/spec_helper.rb |