test/test_helper.rb in rantly-1.0.0 vs test/test_helper.rb in rantly-1.1.0
- old
+ new
@@ -1,11 +1,6 @@
-require 'rubygems'
-require 'minitest/autorun'
-
-$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
-$LOAD_PATH.unshift(File.dirname(__FILE__))
-
+# Require simplecov and coveralls before rantly application code.
require 'simplecov'
SimpleCov.start
begin
# Coveralls is marked as an _optional_ dependency, so don't
@@ -13,6 +8,8 @@
require 'coveralls'
Coveralls.wear!
rescue LoadError
end
+# Require rantly.
+require 'minitest/autorun'
require 'rantly'