Sha256: 83ec82c9b332da997bb3402c82c5ed6bb63c170e76186079685b92bec70e36f7

Contents?: true

Size: 276 Bytes

Versions: 1

Compression:

Stored size: 276 Bytes

Contents

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

class Polling::Test < Test::Unit::TestCase
  def test_async
    Polling.async_run 5, true do
      puts "exec sleep 2" 
      sleep 2             
      puts Time.now       
    end                   
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
polling-0.1.2 test/async_run.rb