Automatically add lib #7

Closed
tfwright opened this Issue Mar 13, 2012 · 2 comments

Comments

Projects
None yet
2 participants

Hey great gem, thanks.

I hit a minor hiccup when switching over from running tests directly, which was that the lib I was testing suddenly disappeared. I found I had to add the following to the top of my test helper to get things working.

$:.unshift("#{File.dirname(__FILE__)}/../lib")

After looking at the source, it looks like you are only adding the test directory to the load path. Does it make sense to add lib as well to accomodate that convention? If so, I can throw together a quick PR to do that.

Owner

qrush commented Mar 13, 2012

Sounds fine to me. Anything to help out to get tests running easier.

qrush closed this in a23d53e Apr 7, 2012

Sorry I missed this--notifications is a minor failing in GitHub's otherwise sterling record.

Thanks for adding it :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment