Sha256: 4ff1ace204b1f40ceb208a7188879a68e04e7cf33e6e424f0b1e4b75cf861561

Contents?: true

Size: 839 Bytes

Versions: 9

Compression:

Stored size: 839 Bytes

Contents

require "rubygems"
require "bundler"

Bundler.setup :default, :development

# These require statments *must* be in this order:
# http://bit.ly/bCC0Ew
# Somewhat surprised they're not being required by Bundler...
require 'shoulda'
require 'mocha'

lib = File.expand_path(File.join(File.dirname(__FILE__), '..', '..', 'lib'))
$:.unshift lib unless $:.include? lib

require 'sprout'

test = File.expand_path(File.join(File.dirname(__FILE__), '..'))
$:.unshift test unless $:.include? test

require 'unit/fake_process_runner'
require 'unit/fake_executable_task'
require 'sprout/test_helper'

class Test::Unit::TestCase

  # Only clear registrations in the Sprout core
  # project - not in child projects
  def teardown
    Sprout::Executable.clear_entities!
    Sprout::Library.clear_entities!
    Sprout::Generator.clear_entities!
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
sprout-1.1.18.pre test/unit/test_helper.rb
sprout-1.1.17.pre test/unit/test_helper.rb
sprout-1.1.16.pre test/unit/test_helper.rb
sprout-1.1.15.pre test/unit/test_helper.rb
sprout-1.1.14.pre test/unit/test_helper.rb
sprout-1.1.13.pre test/unit/test_helper.rb
sprout-1.1.11.pre test/unit/test_helper.rb
sprout-1.1.10.pre test/unit/test_helper.rb
sprout-1.1.7.pre test/unit/test_helper.rb