Sha256: 3aadb8fe0daf048bf031fedbb28333636a0348df54986efaa90fe4ab63929e8e

Contents?: true

Size: 307 Bytes

Versions: 42

Compression:

Stored size: 307 Bytes

Contents

require "spec_helper"

if RUBY_VERSION.to_f < 1.9
  describe Bunny::SystemTimer do
    it 'supports being called with a single argument' do
      lambda {Bunny::SystemTimer::timeout(1) {}}.should_not raise_error
      lambda {Bunny::SystemTimer::timeout(1, nil) {}}.should_not raise_error
    end
  end
end

Version data entries

42 entries across 42 versions & 1 rubygems

Version Path
bunny-1.0.0 spec/unit/system_timer_spec.rb
bunny-1.0.0.rc3 spec/unit/system_timer_spec.rb