Sha256: bd6df0b29f9d6887ab2d68abfa3b5b8fd3349216935b935cb42dd92c9a8d1c05

Contents?: true

Size: 669 Bytes

Versions: 1

Compression:

Stored size: 669 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}

RSpec.configure do |config|
  include Gorillib::TestHelpers
  config.treat_symbols_as_metadata_keys_with_true_values = true
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
gorillib-0.4.2pre spec/spec_helper.rb