From 60795a371d34b5b1cce182506b8fbbaba7dfe1de Mon Sep 17 00:00:00 2001 From: Michael Miller Date: Sat, 26 Sep 2020 19:15:34 -0600 Subject: [PATCH] Reorganize --- src/spectator/dsl/groups.cr | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/spectator/dsl/groups.cr b/src/spectator/dsl/groups.cr index 026b5dd..8dcbe81 100644 --- a/src/spectator/dsl/groups.cr +++ b/src/spectator/dsl/groups.cr @@ -47,12 +47,6 @@ module Spectator::DSL {% end %} end - define_example_group :example_group - - define_example_group :describe - - define_example_group :context - # Defines the implicit subject for the test context. # If *what* is a type, then the `described_class` method will be defined. # Additionally, the implicit subject is set to an instance of *what* if it's not a module. @@ -83,6 +77,12 @@ module Spectator::DSL end {% end %} end + + define_example_group :example_group + + define_example_group :describe + + define_example_group :context end macro sample(collection, count = nil, _source_file = __FILE__, _source_line = __LINE__, &block)