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.7.1 spec/unit/system_timer_spec.rb
bunny-1.7.0 spec/unit/system_timer_spec.rb
bunny-1.6.3 spec/unit/system_timer_spec.rb
bunny-1.6.2 spec/unit/system_timer_spec.rb
bunny-1.6.1 spec/unit/system_timer_spec.rb
bunny-1.6.0 spec/unit/system_timer_spec.rb
bunny-1.5.1 spec/unit/system_timer_spec.rb
bunny-1.6.0.rc2 spec/unit/system_timer_spec.rb
bunny-1.6.0.rc1 spec/unit/system_timer_spec.rb
bunny-1.6.0.pre1 spec/unit/system_timer_spec.rb
bunny-1.5.0 spec/unit/system_timer_spec.rb
bunny-1.5.0.pre2 spec/unit/system_timer_spec.rb
bunny-1.5.0.pre1 spec/unit/system_timer_spec.rb
bunny-1.4.1 spec/unit/system_timer_spec.rb
bunny-1.4.0 spec/unit/system_timer_spec.rb
bunny-1.3.1 spec/unit/system_timer_spec.rb
bunny-1.3.0 spec/unit/system_timer_spec.rb
bunny-1.2.2 spec/unit/system_timer_spec.rb
bunny-1.2.1 spec/unit/system_timer_spec.rb
bunny-1.2.0 spec/unit/system_timer_spec.rb