I have this simple test:
class TestCanPreload < Test::Unit::TestCase
I try to run it in eclipse/aptana, but I get the error:
Launched class is not compatible with Test::Unit::TestCase
However, if I remove the line “require ‘mocha’”, it works fine.
ruby 1.8.6 (2008-08-11 patchlevel 287) [i386-mswin32]
Any ideas why this happens?