summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/test_helper.rb4
-rwxr-xr-xtest/test_highline.rb4
2 files changed, 4 insertions, 4 deletions
diff --git a/test/test_helper.rb b/test/test_helper.rb
index 1459ca3..449c7d2 100644
--- a/test/test_helper.rb
+++ b/test/test_helper.rb
@@ -8,6 +8,10 @@ if ENV['CODECLIMATE_REPO_TOKEN']
CodeClimate::TestReporter.start
end
+# Compatibility module for StringIO, File
+# and Tempfile. Necessary for some tests.
+require "io_console_compatible"
+
require 'highline'
debug_message = "Tests will be run under:\n"
debug_message << " - #{HighLine.new.terminal.class}\n"
diff --git a/test/test_highline.rb b/test/test_highline.rb
index a5862d2..19fd989 100755
--- a/test/test_highline.rb
+++ b/test/test_highline.rb
@@ -15,10 +15,6 @@ require "stringio"
require "readline"
require "tempfile"
-# Compatibility module for StringIO, File
-# and Tempfile. Necessary for some tests.
-require "io_console_compatible"
-
=begin
if HighLine::CHARACTER_MODE == "Win32API"
class HighLine