test/server_helpers_test.rb in resque-retry-1.3.2 vs test/server_helpers_test.rb in resque-retry-1.4.0
- old
+ new
@@ -1,12 +1,10 @@
require 'test_helper'
-
require 'resque'
require 'resque-retry/server'
-class ServerHelpersTest < MiniTest::Unit::TestCase
-
+class ServerHelpersTest < Minitest::Test
def setup
Resque.redis.flushall
@worker = Resque::Worker.new(:testing)
@worker.register_worker
@@ -19,7 +17,6 @@
timestamp = Resque.delayed_queue_peek(0, 1).first
job = Resque.delayed_timestamp_peek(timestamp, 0, 1).first
assert_equal '0', @helpers.retry_attempts_for_job(job), 'should have 0 retry attempt'
end
-
end