Sha256: cda9c92d83b79e791e68c9957e51db22b686bcdc9adcb7166c739e3c891a0576
Contents?: true
Size: 337 Bytes
Versions: 1
Compression:
Stored size: 337 Bytes
Contents
require File.expand_path(File.dirname(__FILE__)) + "/helper.rb" class Polling::Test < Test::Unit::TestCase def test_run puts "start: #{Time.now}" Polling.setting offset: 5, debug: true #Polling::run [0,10,20,30,40,50] do Polling::run 10 do puts Time.now puts "exec sleep 2" sleep 2 end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
polling-0.1.1 | test/run.rb |