TestUnit encoding error

I use JRuby 1.7.1 and Rails 3.2.9 and I have unit test:

-- coding: utf-8 --

require ‘test_helper’

class UserTest < ActiveSupport::TestCase

test “машинист: пользователь создается, он валидный и у него сразу же
есть профиль” do

user = User.make!
assert user and User.count == 1 and user.valid? and user.profile

end

After “rake test” I have errors:

  1. Error:
    test_из_тестового_фида_вытаскиваются_все_записи(FeedTest):
    NoMethodError: undefined method
    test_??_?????????_????_?????????????_???_??????' for #<FeedTest:0xe42af> org/jruby/RubyBasicObject.java:1659:insend
    /home/ishe/.rvm/gems/jruby-1.7.1/gems/mocha-0.13.1/lib/mocha/integration/mini_test/version_230_to_2101.rb:36:in
    `run’

What I should do? Thank you in advance.