mirror of
https://gitea.invidious.io/iv-org/shard-spectator.git
synced 2024-08-15 00:53:35 +00:00
Use skip instead of pending tag
Specify default reason for skipping groups.
This commit is contained in:
parent
02a4b2946e
commit
71a5c39f6c
2 changed files with 4 additions and 4 deletions
|
@ -74,7 +74,7 @@ module Spectator::DSL
|
||||||
\{% end %}
|
\{% end %}
|
||||||
end
|
end
|
||||||
|
|
||||||
define_pending_example :x{{name.id}}, pending: "Temporarily skipped with x{{name.id}}"
|
define_pending_example :x{{name.id}}, skip: "Temporarily skipped with x{{name.id}}"
|
||||||
end
|
end
|
||||||
|
|
||||||
# Defines a macro to generate code for a pending example.
|
# Defines a macro to generate code for a pending example.
|
||||||
|
|
|
@ -110,11 +110,11 @@ module Spectator::DSL
|
||||||
|
|
||||||
define_example_group :context
|
define_example_group :context
|
||||||
|
|
||||||
define_example_group :xexample_group, :pending
|
define_example_group :xexample_group, skip: "Temporarily skipped with xexample_group"
|
||||||
|
|
||||||
define_example_group :xdescribe, :pending
|
define_example_group :xdescribe, skip: "Temporarily skipped with xdescribe"
|
||||||
|
|
||||||
define_example_group :xcontext, :pending
|
define_example_group :xcontext, skip: "Temporarily skipped with xcontext"
|
||||||
|
|
||||||
# TODO: sample, random_sample, and given
|
# TODO: sample, random_sample, and given
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue