mirror of
https://gitea.invidious.io/iv-org/shard-spectator.git
synced 2024-08-15 00:53:35 +00:00
Add xit
to DSL
This commit is contained in:
parent
e746ede287
commit
28c13cd175
1 changed files with 6 additions and 0 deletions
|
@ -1403,6 +1403,12 @@ module Spectator::DSL
|
|||
::Spectator::DSL::Builder.add_example(Example%example)
|
||||
end
|
||||
|
||||
# Same as `#pending`.
|
||||
# Include for compatibility with RSpec.
|
||||
macro xit(what, &block)
|
||||
pending({{what}}) {{block}}
|
||||
end
|
||||
|
||||
# Creates a wrapper class for test code.
|
||||
# The class serves multiple purposes, mostly dealing with scope.
|
||||
# 1. Include the parent modules as mix-ins.
|
||||
|
|
Loading…
Reference in a new issue