RSpec.configure do |config|
  config.around(:each) { |example| Timeout.timeout(1, &example) }
end

begin
  require 'simplecov'
  SimpleCov.start do
    add_filter 'spec/' # Exclude RSpec files from coverage
  end
rescue LoadError
  $stderr.puts 'NOTE: SimpleCov is not installed'
end

$LOAD_PATH.unshift File.expand_path('../../lib', __FILE__)
require 'peribot'

RSpec.configure do |config|
  config.around(:each) { |example| Timeout.timeout(0.5, &example) }
end

begin
  require 'simplecov'
  SimpleCov.start do
    add_filter 'spec/' # Exclude RSpec files from coverage
  end
rescue LoadError
  $stderr.puts 'NOTE: SimpleCov is not installed'
end

$LOAD_PATH.unshift File.expand_path('../../lib', __FILE__)
require 'peribot'

Reduce test timeout to 0.5 seconds
Reduce test timeout to 0.5 seconds

Have tests time out after half the time, especially now that
rspec-eventually is out of the picture and we don't have polling going
on.
