Skip to content

Conversation

@cawel
Copy link

@cawel cawel commented Jan 31, 2012

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).

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants