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

Version Path
gorillib-0.1.11 spec/spec_helper.rb
gorillib-0.1.9 spec/spec_helper.rb
gorillib-0.1.8 spec/spec_helper.rb
gorillib-0.1.7 spec/spec_helper.rb
gorillib-0.1.6 spec/spec_helper.rb
gorillib-0.1.5 spec/spec_helper.rb
gorillib-0.1.4 spec/spec_helper.rb
gorillib-0.1.3 spec/spec_helper.rb
gorillib-0.1.2 spec/spec_helper.rb
gorillib-0.1.1 spec/spec_helper.rb
gorillib-0.1.0 spec/spec_helper.rb