owningrails/patterns — pull request #2 by cawel (2012-01-31 21:22:05+00:00)
Title: allowing each test to be run with ruby from the project dir

I kept on having `cannot load "tests/test_helper" file` when I was trying to run:

ruby tests/user.rb

The reason for this was because "test_helper" was not loaded, which meant that the project dir had not been "unshifted" in the path yet. So I changed the way the `require` loads "test_helper" in your tests so that it is possible to run each test independently from the project dir (and not only when you are in the "tests" dir).