mirror of
https://gitea.invidious.io/iv-org/shard-spectator.git
synced 2024-08-15 00:53:35 +00:00
Reorganize
This commit is contained in:
parent
b8ba38152e
commit
60795a371d
1 changed files with 6 additions and 6 deletions
|
@ -47,12 +47,6 @@ module Spectator::DSL
|
||||||
{% end %}
|
{% end %}
|
||||||
end
|
end
|
||||||
|
|
||||||
define_example_group :example_group
|
|
||||||
|
|
||||||
define_example_group :describe
|
|
||||||
|
|
||||||
define_example_group :context
|
|
||||||
|
|
||||||
# Defines the implicit subject for the test context.
|
# Defines the implicit subject for the test context.
|
||||||
# If *what* is a type, then the `described_class` method will be defined.
|
# If *what* is a type, then the `described_class` method will be defined.
|
||||||
# Additionally, the implicit subject is set to an instance of *what* if it's not a module.
|
# Additionally, the implicit subject is set to an instance of *what* if it's not a module.
|
||||||
|
@ -83,6 +77,12 @@ module Spectator::DSL
|
||||||
end
|
end
|
||||||
{% end %}
|
{% end %}
|
||||||
end
|
end
|
||||||
|
|
||||||
|
define_example_group :example_group
|
||||||
|
|
||||||
|
define_example_group :describe
|
||||||
|
|
||||||
|
define_example_group :context
|
||||||
end
|
end
|
||||||
|
|
||||||
macro sample(collection, count = nil, _source_file = __FILE__, _source_line = __LINE__, &block)
|
macro sample(collection, count = nil, _source_file = __FILE__, _source_line = __LINE__, &block)
|
||||||
|
|
Loading…
Reference in a new issue