lib/test/unit/given/test_case.rb in test_unit-given-0.9.2 vs lib/test/unit/given/test_case.rb in test_unit-given-0.9.3
- old
+ new
@@ -19,9 +19,15 @@
# }
# end
class TestCase < Test::Unit::TestCase
include Simple
include TestThat
+ if RUBY_VERSION =~ /^1\.8\./
+ # Avoid the stupid behavior of
+ # complaining that no tests were specified for 1.8.-like rubies
+ def default_test
+ end
+ end
end
end
end
end