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


After “rake test” I have errors:

  1. Error:
    NoMethodError: undefined method
    test_??_?????????_????_?????????????_???_??????' for #<FeedTest:0xe42af> org/jruby/RubyBasicObject.java:1659:insend

What I should do? Thank you in advance.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs