require 'resque_unit/scheduler'
require 'resque_unit/scheduler_assertions'

Test::Unit::TestCase.send(:include, ResqueUnit::SchedulerAssertions)
if defined?(MiniTest)
  MiniTest::Unit::TestCase.send(:include, ResqueUnit::SchedulerAssertions)
end
require 'resque_unit/scheduler'
require 'resque_unit/scheduler_assertions'

if defined?(Test::Unit)
  Test::Unit::TestCase.send(:include, ResqueUnit::SchedulerAssertions)
end

if defined?(MiniTest::Unit::TestCase)
  MiniTest::Unit::TestCase.send(:include, ResqueUnit::SchedulerAssertions)
end

if defined?(Minitest::Test)
  Minitest::Test.send(:include, ResqueUnit::SchedulerAssertions)
end

Support renamed module and class in Minitest 5
Support renamed module and class in Minitest 5

This was already done for resque_unit, but still needed to be done for
resque_unit_scheduler.
