Fernando Perez wrote: > Colin Law wrote:
>> require File.dirname(__FILE__) + '/../test_helper' >> >> I suspect there is a better way of achieving this effect > Thanks Colin for your input. Actually it works the same for me (I never > noticed), but I often find myself only running a little set of tests and > not always the full rake test. Some editors run tests in the "wrong" folder - if they can run unit tests at all - so that File.dirname mishmash is crucial for Rails's tests. No idea why the newer version took it out! -- Phlip http://flea.sourceforge.net/resume.html --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

