summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Barnette <jbarnette@gmail.com>2009-09-29 10:12:15 -0700
committerJohn Barnette <jbarnette@gmail.com>2009-09-29 10:12:15 -0700
commit6d840a576b6cc627a34cd5c46a07a6aee8d54c1c (patch)
tree386395057c6275d01f29eda04bd7e055a72beeaa
parenta4ee565dd130fd868d39cc8512e6c527e436965f (diff)
downloadpsych-6d840a576b6cc627a34cd5c46a07a6aee8d54c1c.zip
Fix Autotest for MiniTest.
-rw-r--r--.autotest9
1 files changed, 3 insertions, 6 deletions
diff --git a/.autotest b/.autotest
index 687fd0e..7e82833 100644
--- a/.autotest
+++ b/.autotest
@@ -1,10 +1,7 @@
-# -*- ruby -*-
+require "autotest/restart"
-require 'autotest/restart'
-
-begin
- require 'autotest/fsevent'
-rescue LoadError
+Autotest.add_hook :initialize do |at|
+ at.testlib = "minitest/autorun"
end
Autotest.add_hook :run_command do |at|