mirror of
https://gitea.invidious.io/iv-org/shard-spectator.git
synced 2024-08-15 00:53:35 +00:00
Use builder to get example group
This commit is contained in:
parent
037fe604ea
commit
5b79e76b44
1 changed files with 2 additions and 1 deletions
|
@ -14,7 +14,8 @@ module Spectator
|
||||||
|
|
||||||
at_exit do
|
at_exit do
|
||||||
begin
|
begin
|
||||||
Runner.new(ExampleGroup::ROOT).run
|
group = ::Spectator::DSL::Builder.build
|
||||||
|
Runner.new(group).run
|
||||||
rescue ex
|
rescue ex
|
||||||
puts
|
puts
|
||||||
puts "Encountered an unexpected error in framework"
|
puts "Encountered an unexpected error in framework"
|
||||||
|
|
Loading…
Reference in a new issue