summaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
authorLee Jarvis <lee@jarvis.co>2011-04-27 08:08:24 +0100
committerLee Jarvis <lee@jarvis.co>2011-04-27 08:08:24 +0100
commit22040dcc37de409f90b780bad6940bdc7e39e536 (patch)
tree08c5bee6b8b9bde182dadef7d9fd35a10c778012 /Rakefile
parent4b63d91a971ed21083c9e58f441b92439d7f529a (diff)
downloadslop-22040dcc37de409f90b780bad6940bdc7e39e536.tar.gz
push test into the load path before running tests
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Rakefile b/Rakefile
index 293f705..9ce9525 100644
--- a/Rakefile
+++ b/Rakefile
@@ -1,4 +1,5 @@
task :test do
+ $LOAD_PATH.unshift './test'
Dir.glob("test/**/*_test.rb").each { |test| require "./#{test}" }
end