Sha256: b839070fccd883dcccbf13261832f49fa788b41cc6591d6026952a69e2acd109

Contents?: true

Size: 258 Bytes

Versions: 8

Compression:

Stored size: 258 Bytes

Contents

$TESTING=true
$:.push File.join(File.dirname(__FILE__), '..', 'lib')

require 'rubygems'
require 'job_queue'

def should_not_timeout(timeout = 0.1)
  lambda {
    Timeout.timeout(timeout) do
      yield
    end
  }.should_not raise_error(Timeout::Error)
end

Version data entries

8 entries across 8 versions & 2 rubygems

Version Path
mloughran-job_queue-0.0.10 spec/spec_helper.rb
mloughran-job_queue-0.0.11 spec/spec_helper.rb
mloughran-job_queue-0.0.8 spec/spec_helper.rb
mloughran-job_queue-0.0.9 spec/spec_helper.rb
job_queue-0.0.12 spec/spec_helper.rb
job_queue-0.0.11 spec/spec_helper.rb
job_queue-0.0.10 spec/spec_helper.rb
job_queue-0.0.9 spec/spec_helper.rb