From d551cf6e1bee8476c8072931e4ec16b1cf9b3573 Mon Sep 17 00:00:00 2001 From: Michael Miller Date: Sun, 23 Sep 2018 12:27:21 -0600 Subject: [PATCH] Add missing GivenExampleGroupBuilder class --- .../dsl/given_example_group_builder.cr | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 src/spectator/dsl/given_example_group_builder.cr diff --git a/src/spectator/dsl/given_example_group_builder.cr b/src/spectator/dsl/given_example_group_builder.cr new file mode 100644 index 0000000..8ba164b --- /dev/null +++ b/src/spectator/dsl/given_example_group_builder.cr @@ -0,0 +1,17 @@ +require "./example_group_builder" + +module Spectator + module DSL + class GivenExampleGroupBuilder < ExampleGroupBuilder + + def initialize(what : String, @collection : Array(ValueWrapper)) + super(what) + end + + def build : Array(Example) + # TODO + Array(Example).new + end + end + end +end