I'm very new to ruby and intellij so this may well be something trivial. Whenever I attempt to run unit tests I get the following error every time I try to use the class I'm trying to test:
NameError: uninitialized constant FooTest::Foo
My test file looks like this:
class FooTest < MiniTest::Unit::TestCase
a = Foo.new 'bar'
and my file structure looks like this:
Any idea what could be the cause of the problem? Literally all I've done is create a project, create a ruby class, and create a test class, then make it use minitest.