1
0
Fork 0
mirror of https://github.com/sinatra/sinatra synced 2023-03-27 23:18:01 -04:00
sinatra/test/helper.rb
blake.mizerany@gmail.com fb81823b8b Sexy IRB!!!
2007-09-11 01:14:03 +00:00

15 lines
284 B
Ruby

require File.dirname(__FILE__) + '/../lib/sinatra'
%w(mocha test/spec).each do |library|
begin
require library
rescue
STDERR.puts "== Sinatra's tests need #{library} to run."
end
end
Sinatra::Server.running = true
class Test::Unit::TestCase
include TestMethods
end