diff --git a/test/helper.rb b/test/helper.rb index 8992caa05..537d7e3a2 100644 --- a/test/helper.rb +++ b/test/helper.rb @@ -1,5 +1,7 @@ # frozen_string_literal: true -$:.unshift File.expand_path("../../lib", __FILE__) + +lib = File.expand_path("../../lib", __FILE__) +$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) begin if ENV["COVERALLS"]