guard/guard-test — Issue #22: load path issues
Author: aspiers
Created: 2012-01-08 20:00:56+00:00
State: open

[Resubmitted to guard-test as per [this request](https://github.com/guard/guard/issues/221#issuecomment-3403957).]

My app started its life on a very old Rails version (something like Rails 2.1 or maybe earlier, I can't remember). Consequently even though it's now upgraded to 3.1, the first line of my unit/functional test files was as follows:

```
require File.dirname(__FILE__) + '/../test_helper'
```

Unfortunately that does not work with guard, since only `Rails.root + 'test'` is in `$:`. I wonder if this should be documented or worked around in some way - I wasted a lot of time trying to figure out what was wrong.