Remove code for running examples

Preparing to add runner.
This commit is contained in:
Michael Miller 2018-08-30 15:55:20 -06:00
parent 6371fa5856
commit cf789f54be
2 changed files with 0 additions and 14 deletions

View file

@ -13,10 +13,6 @@ module Spectator
{% debug %}
end
macro _spec_add_example(example)
{{example.id}}.run
end
at_exit do
# TODO
end

View file

@ -1,9 +1,5 @@
require "./example_group"
private macro _spec_add_example(example)
@examples << example
end
module Spectator
module DSL
macro describe(what, type = "Describe", &block)
@ -37,7 +33,6 @@ module Spectator
{{block.body}}
end
end
::Spectator._spec_add_example({{class_name.id}}.new)
end
def it_behaves_like
@ -97,10 +92,5 @@ module Spectator
def include_examples
raise NotImplementedError.new("Spectator::DSL#include_examples")
end
# :nodoc:
protected def _spec_build
ExampleGroup.new(@examples)
end
end
end