1
0
Fork 0
mirror of https://github.com/sinatra/sinatra synced 2023-03-27 23:18:01 -04:00

remove irrelevant warnings

This commit is contained in:
Blake Mizerany 2007-10-26 21:34:46 -07:00
parent 94060c3142
commit b62130824d

View file

@ -4,8 +4,10 @@ module Sinatra
module Test
module Spec
def self.included(base)
require File.dirname(__FILE__) + '/../../sinatra'
require 'test/spec'
silence_warnings do
require File.dirname(__FILE__) + '/../../sinatra'
require 'test/spec'
end
Server.running = true
Options.set_environment :test
Environment.prepare_loggers