Sha256: 30e2a87cf25095a7c77a9a02f5886949eb2dd4af491c5c4c0d009cff99e0bc2b

Contents?: true

Size: 464 Bytes

Versions: 2

Compression:

Stored size: 464 Bytes

Contents

# add lib directory to the search path
libdir = File.expand_path(File.join(File.dirname(__FILE__), '..', 'lib'))
$LOAD_PATH.unshift(libdir) unless $LOAD_PATH.include?(libdir)

require 'rubygems'
require 'spec'

# Console redirection helper
require File.expand_path(File.join(File.dirname(__FILE__), 'support/capture_output_helper'))

Spec::Runner.configure do |config|
  config.predicate_matchers[:have_defined] = :task_defined?

  include CaptureOutputHelper
end

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
luislavena-rake-compiler-0.5.0 spec/spec_helper.rb
rake-compiler-0.5.0 spec/spec_helper.rb