mirror of
https://gitea.invidious.io/iv-org/shard-spectator.git
synced 2024-08-15 00:53:35 +00:00
Add missing GivenExampleGroupBuilder class
This commit is contained in:
parent
6bf07e3967
commit
d551cf6e1b
1 changed files with 17 additions and 0 deletions
17
src/spectator/dsl/given_example_group_builder.cr
Normal file
17
src/spectator/dsl/given_example_group_builder.cr
Normal file
|
@ -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
|
Loading…
Reference in a new issue