I had trouble getting Mocha to work with Rails 4.1 and tracked it down to an issue with the Shoulda Callback Matchers gem and how it declares Test::Unit::TestCase class.
You can follow the discussion there and how we resolved it, but it may help if you adapt the way to you declare Test::Unit::TestCase class to be a bit more specific.
I had trouble getting Mocha to work with Rails 4.1 and tracked it down to an issue with the Shoulda Callback Matchers gem and how it declares
Test::Unit::TestCase
class.You can follow the discussion there and how we resolved it, but it may help if you adapt the way to you declare
Test::Unit::TestCase
class to be a bit more specific.