mirror of
https://gitea.invidious.io/iv-org/shard-spectator.git
synced 2024-08-15 00:53:35 +00:00
Merge branch 'master' into release/0.10
This commit is contained in:
commit
39c95397fd
2 changed files with 23 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue