This commit is contained in:
Michael Miller 2018-09-23 12:21:10 -06:00
parent fc1c0351cd
commit faf3bef05c

View file

@ -29,7 +29,7 @@ module Spectator
end end
def add_example(example_type : Example.class) : Nil def add_example(example_type : Example.class) : Nil
factory = ::Spectator::DSL::ExampleGroupBuilder.new(example_type) factory = ::Spectator::DSL::ExampleFactory.new(example_type)
current_group.add_child(factory) current_group.add_child(factory)
end end