Sha256: 81199581c8a075ce8cacbdc2d6ed6ca8ff085272e78015239be86cd2779a7766

Contents?: true

Size: 299 Bytes

Versions: 1

Compression:

Stored size: 299 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
      expect {Bunny::SystemTimer::timeout(1) {}}.not_to raise_error
      expect {Bunny::SystemTimer::timeout(1, nil) {}}.not_to raise_error
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
bunny-2.0.0.rc1 spec/unit/system_timer_spec.rb