test/test.rb in rufus-verbs-1.0.0 vs test/test.rb in rufus-verbs-1.0.1
- old
+ new
@@ -1,24 +1,3 @@
-#require 'dryrun_test'
-#require 'iconditional_test'
-#require 'simple_test'
-#require 'auth0_test'
-#require 'auth1_test'
-#require 'redir_test'
-#require 'block_test'
-#require 'https_test'
-#require 'proxy_test'
-#require 'conditional_test'
-#require 'cookie0_test'
-#require 'cookie1_test'
-#require 'escape_test'
-#require 'uri_test'
-#require 'fopen_test'
-#require 'timeout_test'
-
-dirpath = File.dirname(__FILE__)
-
-tests = Dir.new(dirpath).entries.select { |e| e.match(/\_test\.rb$/) }.sort
-
-tests.each { |t| load "#{dirpath}/#{t}" }
+Dir[File.expand_path("../*_test.rb", __FILE__)].each { |path| load(path) }