test/rake_test_setup.rb in jimweirich-rake-0.8.3.1 vs test/rake_test_setup.rb in jimweirich-rake-0.8.3.99

- old
+ new

@@ -6,5 +6,19 @@ rescue LoadError # got no gems end require 'flexmock/test_unit' + +if RUBY_VERSION >= "1.9.0" + class Test::Unit::TestCase +# def passed? +# true +# end + end +end + +module TestMethods + def assert_exception(ex, msg=nil, &block) + assert_raise(ex, msg, &block) + end +end