After installation of Mocha (0.9.7), running "script/spec spec"
results in a "`const_missing': uninitialized constant
Test::Unit::TestResult::TestResultFailureSupport (NameError)" error.
(As shown here; http://codepad.org/mTqztjwt )
I'm running Ruby 1.8.6 with Rails 2.3.4 on Windows, rspec (-rails)
1.2.8 (22.214.171.124), Test::Unit 2.0.3
As suggested roughly on http://stackoverflow.com/questions/1145318/getting-uninitialized-cons
, I've added config.gem 'test-unit', :lib => 'test/unit'" to my
environments/test.rb file at the very top. Doing so does resolve the
trace being printed, however, no output is generated at all when
running "script/spec spec" again. Removing the line brings back the
trace, but logically does not resolve the issue. ( Relevant Test::Unit
code is shown on http://codepad.org/bg7BlS7F )
What other workarounds could I give a shot? Googling doesnt seem to
bring up alternative solutions sadly.