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.1.9 spec/unit/system_timer_spec.rb
bunny-1.1.8 spec/unit/system_timer_spec.rb
bunny-1.1.7 spec/unit/system_timer_spec.rb
bunny-1.1.6 spec/unit/system_timer_spec.rb
bunny-1.1.5 spec/unit/system_timer_spec.rb
bunny-1.1.4 spec/unit/system_timer_spec.rb
bunny-1.1.3 spec/unit/system_timer_spec.rb
bunny-1.1.2 spec/unit/system_timer_spec.rb
bunny-1.1.1 spec/unit/system_timer_spec.rb
bunny-1.1.0 spec/unit/system_timer_spec.rb
bunny-1.1.0.rc1 spec/unit/system_timer_spec.rb
bunny-1.0.7 spec/unit/system_timer_spec.rb
bunny-1.0.6 spec/unit/system_timer_spec.rb
bunny-1.0.5 spec/unit/system_timer_spec.rb
bunny-1.1.0.pre2 spec/unit/system_timer_spec.rb
bunny-1.1.0.pre1 spec/unit/system_timer_spec.rb
bunny-1.0.4 spec/unit/system_timer_spec.rb
bunny-1.0.3 spec/unit/system_timer_spec.rb
bunny-1.0.2 spec/unit/system_timer_spec.rb
bunny-1.0.1 spec/unit/system_timer_spec.rb