Skip to content

Commit 2b193fa

Browse files
authored
chore: test against lack of require modules (#71)
1 parent 9d73f99 commit 2b193fa

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

test/testing_helper.rb

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,10 @@
44

55
require 'minitest/autorun'
66
require 'redis_client'
7+
require 'redis_cluster_client'
78
require 'testing_constants'
89
require 'cluster_controller'
910

10-
Dir["#{File.expand_path('../lib', __dir__)}/**/*.rb"].each do |s|
11-
require s[s.rindex('redis_client')..]
12-
end
13-
1411
case ENV.fetch('REDIS_CONNECTION_DRIVER', 'ruby')
1512
when 'hiredis' then require 'hiredis-client'
1613
end

0 commit comments

Comments
 (0)