Sha256: 050bf85062873ad8be313aaa37573048f1dda4f8fddf077c62915ccf1a60bbab

Contents?: true

Size: 901 Bytes

Versions: 1

Compression:

Stored size: 901 Bytes

Contents

unless defined?(STANDARD_OBJECT_PUBLIC_INSTANCE_METHODS)
  STANDARD_OBJECT_PUBLIC_INSTANCE_METHODS = Object.public_instance_methods
end

$:.unshift File.expand_path(File.join(File.dirname(__FILE__), "..", "lib"))
$:.unshift File.expand_path(File.join(File.dirname(__FILE__)))
$:.unshift File.expand_path(File.join(File.dirname(__FILE__), 'unit'))
$:.unshift File.expand_path(File.join(File.dirname(__FILE__), 'unit', 'parameter_matchers'))
$:.unshift File.expand_path(File.join(File.dirname(__FILE__), 'acceptance'))

if ENV['MOCHA_OPTIONS'] == 'use_test_unit_gem'
  gem 'test-unit'
end

require 'test/unit'

module Kernel
  private
  
  # TODO: Currently need to check for existence of the method.
  # This is probably because the test_helper.rb file isn't required with a consistent path from somewhere.
  def on_macruby?
    defined? MACRUBY_VERSION
  end unless respond_to?(:on_macruby?, true)
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mocha-macruby-0.9.8.20100129120100 test/test_helper.rb