diff options
author | Lee Jarvis <lee@jarvis.co> | 2011-04-27 08:08:24 +0100 |
---|---|---|
committer | Lee Jarvis <lee@jarvis.co> | 2011-04-27 08:08:24 +0100 |
commit | 22040dcc37de409f90b780bad6940bdc7e39e536 (patch) | |
tree | 08c5bee6b8b9bde182dadef7d9fd35a10c778012 /Rakefile | |
parent | 4b63d91a971ed21083c9e58f441b92439d7f529a (diff) | |
download | slop-22040dcc37de409f90b780bad6940bdc7e39e536.tar.gz |
push test into the load path before running tests
Diffstat (limited to 'Rakefile')
-rw-r--r-- | Rakefile | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1,4 +1,5 @@ task :test do + $LOAD_PATH.unshift './test' Dir.glob("test/**/*_test.rb").each { |test| require "./#{test}" } end |