Support mocha 1.0, Ruby 2