From 5b79e76b4423a28405dd060d68cdbb9efb759056 Mon Sep 17 00:00:00 2001 From: Michael Miller Date: Sun, 23 Sep 2018 13:40:24 -0600 Subject: [PATCH] Use builder to get example group --- src/spectator.cr | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/spectator.cr b/src/spectator.cr index 302ed0d..2d56dd2 100644 --- a/src/spectator.cr +++ b/src/spectator.cr @@ -14,7 +14,8 @@ module Spectator at_exit do begin - Runner.new(ExampleGroup::ROOT).run + group = ::Spectator::DSL::Builder.build + Runner.new(group).run rescue ex puts puts "Encountered an unexpected error in framework"