Skip to content
Browse files

Also append lib to LOAD_PATH, Closes #7

  • Loading branch information...
1 parent a8f8ca4 commit a23d53ea249e83ccebba0cb3e2e31099409690e0 @qrush committed Apr 7, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/m.rb
View
4 lib/m.rb
@@ -184,8 +184,8 @@ def execute
# Finds all test suites in this test file, with test methods included.
def suites
- # Since we're not using `ruby -Itest` to run the tests, we need to add this directory to the `LOAD_PATH`
- $:.unshift "./test"
+ # Since we're not using `ruby -Itest -Ilib` to run the tests, we need to add this directory to the `LOAD_PATH`
+ $:.unshift "./test", "./lib"
begin
# Fire up this Ruby file. Let's hope it actually has tests.

0 comments on commit a23d53e

Please sign in to comment.
Something went wrong with that request. Please try again.