Sha256: b48200feb1f05254da6106708375c6db5e16b135150876370c7a27bc2dc0b84b

Contents?: true

Size: 537 Bytes

Versions: 8

Compression:

Stored size: 537 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|
  include CaptureOutputHelper
end

# Rake::Task matcher helper
Spec::Matchers.define :have_defined do |task|
  match do |tasks|
    tasks.task_defined?(task)
  end
end

Version data entries

8 entries across 8 versions & 2 rubygems

Version Path
luislavena-rake-compiler-0.6.0 spec/spec_helper.rb
rake-compiler-0.7.8 spec/spec_helper.rb
rake-compiler-0.7.7 spec/spec_helper.rb
rake-compiler-0.7.6 spec/spec_helper.rb
rake-compiler-0.7.5 spec/spec_helper.rb
rake-compiler-0.7.1 spec/spec_helper.rb
rake-compiler-0.7.0 spec/spec_helper.rb
rake-compiler-0.6.0 spec/spec_helper.rb