test-unit/lib/test/unit/priority.rb in activeldap-1.2.1 vs test-unit/lib/test/unit/priority.rb in activeldap-1.2.2
- old
+ new
@@ -1,8 +1,5 @@
-require "fileutils"
-require "tmpdir"
-
module Test
module Unit
module Priority
class << self
def included(base)
@@ -18,9 +15,11 @@
def enabled?
@@enabled
end
def enable
+ require "fileutils"
+ require "tmpdir"
@@enabled = true
end
def disable
@@enabled = false