From 6d840a576b6cc627a34cd5c46a07a6aee8d54c1c Mon Sep 17 00:00:00 2001 From: John Barnette Date: Tue, 29 Sep 2009 10:12:15 -0700 Subject: Fix Autotest for MiniTest. --- .autotest | 9 +++------ 1 file 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| -- cgit v1.2.3