test/test_helper.rb in resque-retry-0.1.0 vs test/test_helper.rb in resque-retry-0.2.1

- old
+ new

@@ -1,13 +1,13 @@ dir = File.dirname(File.expand_path(__FILE__)) $LOAD_PATH.unshift dir + '/../lib' $TESTING = true -require 'test/unit' -require 'rubygems' -require 'turn' -require 'simplecov-html' +require 'minitest/unit' +require 'minitest/pride' +require 'rack/test' +require 'simplecov' SimpleCov.start do add_filter "/test/" end @@ -57,10 +57,10 @@ self.errors = [] end # Test helpers -class Test::Unit::TestCase +class MiniTest::Unit::TestCase def perform_next_job(worker, &block) return unless job = @worker.reserve @worker.perform(job, &block) @worker.done_working end