test_helper don't load when I make a test
问题 I need make a test of a model, but when I do this: ruby test/unit/user_test.rb I have also tried with other methods: ruby -I test test/unit/user_test.rb rake test:units TEST=test/unit/user_test.rb But anyone make the test and said: test/unit/user_test.rb:1:in `require': no such file to load -- test_helper (LoadError) Or like. This is part of the code (only the beginning): require 'test_helper' class UserTest < Test::Unit::TestCase self.use_instantiated_fixtures = true fixtures :users def test