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}}
|
||||
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`.
|
||||
# Included for compatibility with RSpec.
|
||||
macro xit(what, &block)
|
||||
|
|
Loading…
Reference in a new issue