mirror of
https://gitea.invidious.io/iv-org/shard-spectator.git
synced 2024-08-15 00:53:35 +00:00
Remove code for running examples
Preparing to add runner.
This commit is contained in:
parent
6371fa5856
commit
cf789f54be
2 changed files with 0 additions and 14 deletions
|
@ -13,10 +13,6 @@ module Spectator
|
|||
{% debug %}
|
||||
end
|
||||
|
||||
macro _spec_add_example(example)
|
||||
{{example.id}}.run
|
||||
end
|
||||
|
||||
at_exit do
|
||||
# TODO
|
||||
end
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue