Hi everyone, I ran into some problems during testing. The problem was like:
root> ruby test/unit/game_test.rb /usr/lib/ruby/1.8/test/unit/assertionfailederror.rb:7: Test is not a module (TypeError) from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require' from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in `require' from /home/gaoxh04/.gem/ruby/1.8/gems/activesupport-2.3.2/lib/ active_support/dependencies.rb:158:in `require' from /usr/lib/ruby/1.8/test/unit/assertions.rb:5 from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require' from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in `require' from /home/gaoxh04/.gem/ruby/1.8/gems/activesupport-2.3.2/lib/ active_support/dependencies.rb:158:in `require' from /usr/lib/ruby/1.8/test/unit/testcase.rb:7 from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require' from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in `require' from /home/gaoxh04/.gem/ruby/1.8/gems/activesupport-2.3.2/lib/ active_support/dependencies.rb:158:in `require' from /usr/lib/ruby/1.8/test/unit.rb:1 from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require' from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in `require' from /home/gaoxh04/.gem/ruby/1.8/gems/activesupport-2.3.2/lib/ active_support/dependencies.rb:158:in `require' from /usr/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/test_help.rb:5 from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require' from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in `require' from /home/gaoxh04/.gem/ruby/1.8/gems/activesupport-2.3.2/lib/ active_support/dependencies.rb:158:in `require' from ./test/unit/../test_helper.rb:3 from test/unit/game_test.rb:1:in `require' from test/unit/game_test.rb:1 My game_test.rb is really simple: ====================================== require File.dirname(__FILE__)+'/../test_helper' class GameTest < ActiveSupport::TestCase def test_game end end ====================================== what is the problem? I have spent a lot of time on it but no luck. thanks in advance xiahong --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk@googlegroups.com To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---