Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

18 lines (14 sloc) 0.369 kb
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
Sinatra::Options.set_environment :test
Sinatra::Environment.prepare_loggers
class Test::Unit::TestCase
include Sinatra::TestMethods
end
Jump to Line
Something went wrong with that request. Please try again.