Skip to content

Commit 621955c

Browse files
Turn off logging on the unit test Sinatra server.
1 parent b8cf9c7 commit 621955c

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

test/unit/config.ru

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
require './app'
1+
require './server'
22
run UnitTests

test/unit/server.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ class UnitTests < Sinatra::Application
1010

1111
set :root, PWD
1212
set :public_folder, PWD.join('static')
13+
set :logging, false
1314

1415
# By default, the server is only reachable locally. We change this so that
1516
# we can start the server on one machine and then run tests from another.

0 commit comments

Comments
 (0)