summary refs log tree commit
path: root/test/helper.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/helper.rb')
-rw-r--r--test/helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/helper.rb b/test/helper.rb
index 5c310b54..a2f569c3 100644
--- a/test/helper.rb
+++ b/test/helper.rb
@@ -12,12 +12,12 @@ if ENV.delete('COVERAGE')
   end
 end
 
-$:.unshift(File.expand_path('../lib', __dir__))
 if ENV['SEPARATE']
   def self.separate_testing
     yield
   end
 else
+  $:.unshift(File.expand_path('../lib', __dir__))
   require_relative '../lib/rack'
 
   def self.separate_testing