Use skip instead of pending tag

Specify default reason for skipping groups.
This commit is contained in:
Michael Miller 2021-06-12 12:14:19 -06:00
parent 02a4b2946e
commit 71a5c39f6c
No known key found for this signature in database
GPG key ID: FB9F12F7C646A4AD
2 changed files with 4 additions and 4 deletions

View file

@ -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.

View file

@ -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