2009-02-16 03:24:10 +00:00
|
|
|
require 'rubygems'
|
|
|
|
|
2010-09-06 17:18:39 +00:00
|
|
|
# Want to test the files here, in lib, not in an installed version of the gem.
|
|
|
|
$:.unshift File.expand_path(File.dirname(__FILE__) + '/../lib')
|
|
|
|
require 'whenever'
|
2009-02-16 03:24:10 +00:00
|
|
|
|
2010-09-06 17:18:39 +00:00
|
|
|
require 'shoulda'
|
|
|
|
require 'mocha'
|
2009-02-16 03:24:10 +00:00
|
|
|
|
|
|
|
module TestExtensions
|
|
|
|
|
|
|
|
def two_hours
|
|
|
|
"0 0,2,4,6,8,10,12,14,16,18,20,22 * * *"
|
|
|
|
end
|
2009-02-17 00:22:37 +00:00
|
|
|
|
2009-02-16 03:24:10 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
class Test::Unit::TestCase
|
|
|
|
include TestExtensions
|
|
|
|
end
|