Sha256: dc3a22d2ed31ee86a80742fadfd0b1589a2c75ded0005c0d06969175cccc3da7

Contents?: true

Size: 373 Bytes

Versions: 2

Compression:

Stored size: 373 Bytes

Contents

# Common setup for all test files.

begin
  require 'rubygems'
  gem 'flexmock'
rescue LoadError
  # got no gems
end

require 'flexmock/test_unit'
require 'test/filecreation'
require 'test/capture_stdout'
require 'test/test_helper'

module TestMethods
  # Shim method for compatibility
  def assert_exception(ex, msg="", &block)
    assert_raise(ex, msg, &block)
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rake-0.9.0.beta.4 test/rake_test_setup.rb
rake-0.9.0.beta.2 test/rake_test_setup.rb