2013-03-06 10:18:40 +01:00
|
|
|
require 'rubygems'
|
|
|
|
require 'bundler'
|
|
|
|
begin
|
|
|
|
Bundler.setup(:default, :development)
|
|
|
|
rescue Bundler::BundlerError => e
|
|
|
|
$stderr.puts e.message
|
|
|
|
$stderr.puts "Run `bundle install` to install missing gems"
|
|
|
|
exit e.status_code
|
|
|
|
end
|
|
|
|
require 'test/unit'
|
|
|
|
require 'shoulda'
|
|
|
|
|
2013-03-06 11:58:33 +01:00
|
|
|
require 'timeout'
|
|
|
|
require 'benchmark'
|
|
|
|
require 'ffi/libc'
|
|
|
|
|
2013-03-06 10:18:40 +01:00
|
|
|
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
|
|
|
|
$LOAD_PATH.unshift(File.dirname(__FILE__))
|
2013-03-06 11:58:33 +01:00
|
|
|
|
2013-03-06 15:09:39 +01:00
|
|
|
require 'timeout_interrupt'
|
2013-03-06 10:18:40 +01:00
|
|
|
|
|
|
|
class Test::Unit::TestCase
|
|
|
|
end
|