It finds it ok for me when run from rake test but not from ruby test/unit/test.rb I change all the require lines to
require File.dirname(__FILE__) + '/../test_helper' I suspect there is a better way of achieving this effect Colin 2009/5/14 Fernando Perez <[email protected]> > > Why do the generated test files have: require 'test_helper' > > It cannot obviously find the file because it's located in a > subdirectory. That's annoying. > -- > Posted via http://www.ruby-forum.com/. > > > > --~--~---------~--~----~------------~-------~--~----~ 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 [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

