E
Emil Sandin
I have this simple test:
require "test/unit"
require 'mocha'
class TestCanPreload < Test::Unit::TestCase
def test_hello
assert true
end
end
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.
My environment:
ruby 1.8.6 (2008-08-11 patchlevel 287) [i386-mswin32]
Windows Vista
Mocha 0.9.7
Any ideas why this happens?
require "test/unit"
require 'mocha'
class TestCanPreload < Test::Unit::TestCase
def test_hello
assert true
end
end
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.
My environment:
ruby 1.8.6 (2008-08-11 patchlevel 287) [i386-mswin32]
Windows Vista
Mocha 0.9.7
Any ideas why this happens?