The following code exists in test/unit/this_stupid_test.rb
require 'test/unit'
class ThisStupidTest < Test::Unit::TestCase
def better_be_true
assert true
end
end
When I run rake test:units it says finished with 0 tests and 0 assertions.
It says the same thing when I run ruby test/unit/this_stupid_test.rb
Any ideas?
Try changing your method definition to
def test_better_be_true.