Sha256: f3746041d5ce6f6cd53a8fbccf9dafe6fef7f564a1565c26faa0246b67b10833

Contents?: true

Size: 306 Bytes

Versions: 1

Compression:

Stored size: 306 Bytes

Contents

require File.expand_path(File.dirname(__FILE__)) + "/helper.rb"

class Polling::Test < Test::Unit::TestCase
  def test_run
    Polling.setting offset: 5, debug: true
    #Polling::run [0,10,20,30,40,50] do
    Polling::run 5 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.2 test/run.rb