Sha256: 3f282efcd4e485c04919e670fc648f29d2ef6fbb33959c1ecf08054e7a413c5f
Contents?: true
Size: 638 Bytes
Versions: 15
Compression:
Stored size: 638 Bytes
Contents
require File.dirname(__FILE__) + '/test_helper' # make sure the worlds not fallen from beneith us. class ResqueTest < Test::Unit::TestCase def test_resque_version major, minor, patch = Resque::Version.split('.') assert_equal 1, major.to_i, 'major version does not match' assert_operator minor.to_i, :>=, 8, 'minor version is too low' end def test_good_job clean_perform_job(GoodJob, 1234, { :cats => :maiow }, [true, false, false]) assert_equal 0, Resque.info[:failed], 'failed jobs' assert_equal 1, Resque.info[:processed], 'processed job' assert_equal 0, Resque.delayed_queue_schedule_size end end
Version data entries
15 entries across 15 versions & 3 rubygems