Sha256: 13853340e7c22b34c951de3b5a8f41b7db1ee1e9b2b2e183e056f2f8e04b1e54

Contents?: true

Size: 334 Bytes

Versions: 4

Compression:

Stored size: 334 Bytes

Contents

require 'thin'
require 'lib/fake_async_middleware'

RSpec.configure do |config|
  config.color_enabled = true
end

def wait_for(timeout_milliseconds)
  timeout = (timeout_milliseconds + 0.0) / 1000
  finish = Time.now + timeout
  t = Thread.new do
    while Time.now < finish && !yield
      sleep(0.001)
    end
  end
  t.join
end


Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
message_bus-0.9.4 spec/spec_helper.rb
message_bus-0.9.3.2 spec/spec_helper.rb
message_bus-0.9.3.1 spec/spec_helper.rb
message_bus-0.9.3 spec/spec_helper.rb