Merge branch 'master' into release/0.10

This commit is contained in:
Michael Miller 2021-05-29 16:56:57 -06:00
commit 39c95397fd
No known key found for this signature in database
GPG key ID: FB9F12F7C646A4AD
2 changed files with 23 additions and 5 deletions

View file

@ -1,8 +1,6 @@
require "log"
require "./spectator/includes"
Log.setup_from_env
# Module that contains all functionality related to Spectator.
module Spectator
extend self
@ -64,6 +62,9 @@ module Spectator
# Builds the tests and runs the framework.
private def run
# Silence default logger.
::Log.setup_from_env(default_level: :none)
# Build the spec and run it.
DSL::Builder.config = config
spec = DSL::Builder.build