Sha256: 67f4f4eea9adda7c816426f8dfde0668a0f1f5dc1fce0f72e575bc6fd656ae8e

Contents?: true

Size: 361 Bytes

Versions: 2

Compression:

Stored size: 361 Bytes

Contents

require "rubygems"
require "bundler/setup"
require "logger"
require "timeout"
require "timeout/extensions"

RSpec.configure do |config|
  config.run_all_when_everything_filtered = true
  config.filter_run :focus

  config.before do
    include Timeout::Extensions
  end

  config.order = "random"
end

def within_thread
  Thread.new do
    yield
  end.join
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
timeout-extensions-0.1.1 spec/spec_helper.rb
timeout-extensions-0.1.0 spec/spec_helper.rb