Sha256: 3a1df763089e7d5279a1097393ce85b8b41f29b70b2409820582686ab961af52

Contents?: true

Size: 309 Bytes

Versions: 5

Compression:

Stored size: 309 Bytes

Contents

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

class Polling::Test < Test::Unit::TestCase
  def test_setting
    hash = {:offset=>0}
    assert_equal hash, Polling.setting(offset:0)
    hash = {:offset=>30,:debug=>true}
    assert_equal hash, Polling.setting(offset:30,debug:true)
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
polling-0.1.5 test/test_main.rb
polling-0.1.4 test/test_main.rb
polling-0.1.3 test/test_main.rb
polling-0.1.2 test/test_main.rb
polling-0.1.1 test/test_main.rb