mirror of
https://github.com/sinatra/sinatra
synced 2023-03-27 23:18:01 -04:00
remove irrelevant warnings
This commit is contained in:
parent
94060c3142
commit
b62130824d
1 changed files with 4 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue