Sha256: 891cba0fe579a4ece25a34c5d12199f998d153dc4b1a7caa091f63ebde24aed8
Contents?: true
Size: 425 Bytes
Versions: 2
Compression:
Stored size: 425 Bytes
Contents
# encoding: utf-8 require 'test/unit' # Ruby 1.9 uses "minitest". There is no `name` property there if defined? MiniTest::Unit::TestCase && Test::Unit::TestCase < MiniTest::Unit::TestCase module Test module Unit class TestCase def name __name__ end unless instance_methods.include?(:name) end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rake-delphi-0.0.31 | lib/rake/helpers/unittest.rb |
rake-delphi-0.0.30 | lib/rake/helpers/unittest.rb |