Sha256: 52131dc1a86c9ca628e2754ec068fba5d374462ed38d9d7d812607a6eba68ab7
Contents?: true
Size: 646 Bytes
Versions: 11
Compression:
Stored size: 646 Bytes
Contents
require 'rubygems' unless defined?(Gem) require 'spork' require 'rspec' GORILLIB_ROOT_DIR = File.expand_path(File.join(File.dirname(__FILE__),'..')) def GORILLIB_ROOT_DIR *paths File.join(::GORILLIB_ROOT_DIR, *paths) end Spork.prefork do # Must restart for changes to config / code from libraries loaded here $LOAD_PATH.unshift(GORILLIB_ROOT_DIR('lib')) $LOAD_PATH.unshift(GORILLIB_ROOT_DIR('spec/support')) Dir[GORILLIB_ROOT_DIR('spec/support/matchers/*.rb')].each {|f| require f} RSpec.configure do |config| end end Spork.each_run do # This code will be run each time you run your specs. RSpec.configure do |config| end end
Version data entries
11 entries across 11 versions & 1 rubygems