mirror of
https://gitea.invidious.io/iv-org/shard-spectator.git
synced 2024-08-15 00:53:35 +00:00
Add skip macro as alternative to pending
This commit is contained in:
parent
c18d9c4ffd
commit
53de72805b
1 changed files with 12 additions and 0 deletions
|
@ -1499,6 +1499,18 @@ module Spectator::DSL
|
||||||
peding({{block.body.stringify}}) {{block}}
|
peding({{block.body.stringify}}) {{block}}
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# Same as `#pending`.
|
||||||
|
# Included for compatibility with RSpec.
|
||||||
|
macro skip(what, &block)
|
||||||
|
pending({{what}}) {{block}}
|
||||||
|
end
|
||||||
|
|
||||||
|
# Same as `#pending`.
|
||||||
|
# Included for compatibility with RSpec.
|
||||||
|
macro skip(&block)
|
||||||
|
pending({{block.body.stringify}}) {{block}}
|
||||||
|
end
|
||||||
|
|
||||||
# Same as `#pending`.
|
# Same as `#pending`.
|
||||||
# Included for compatibility with RSpec.
|
# Included for compatibility with RSpec.
|
||||||
macro xit(what, &block)
|
macro xit(what, &block)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue