test/test_helper.rb in rantly-0.3.1 vs test/test_helper.rb in rantly-0.3.2

- old
+ new

@@ -1,11 +1,18 @@ require 'rubygems' -require 'test/unit' -require 'shoulda' +require 'minitest/autorun' $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib')) $LOAD_PATH.unshift(File.dirname(__FILE__)) -require 'rantly' +require 'simplecov' +SimpleCov.start -class Test::Unit::TestCase +begin + # Coveralls is marked as an _optional_ dependency, so don't + # throw a fit if it's not there. + require 'coveralls' + Coveralls.wear! +rescue LoadError end + +require 'rantly'