Skip to content

Commit 304abd8

Browse files
committed
Fix autotest for newer, unreleased ZenTest
1 parent 8ac5a38 commit 304abd8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.autotest

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
# vim: filetype=ruby
22

33
Autotest.add_hook :initialize do |at|
4-
at.test_lib = 'ubygems' # HACK minitest/unit
4+
at.testlib = 'minitest/unit' if at.respond_to? :testlib=
5+
56
def at.path_to_classname(s)
67
sep = File::SEPARATOR
78
f = s.sub(/^test#{sep}/, '').sub(/\.rb$/, '').split(sep)

0 commit comments

Comments
 (0)