mirror of
https://gitea.invidious.io/iv-org/shard-spectator.git
synced 2024-08-15 00:53:35 +00:00
Deprecate current behavior of pending blocks
This commit is contained in:
parent
420f69f56b
commit
4f2df78c34
2 changed files with 4 additions and 0 deletions
|
@ -29,6 +29,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||
- Prevent usage of reserved keywords in DSL (such as `initialize`).
|
||||
- Other minor internal improvements and cleanup.
|
||||
|
||||
### Deprecated
|
||||
- `pending` blocks will behave differently in v0.11.0. They will mimic RSpec in that they _compile and run_ the block expecting it to fail. Use a `skip` (or `xit`) block instead to prevent compiling the example.
|
||||
|
||||
### Removed
|
||||
- Removed one-liner it syntax without braces (block).
|
||||
|
||||
|
|
|
@ -130,6 +130,7 @@ module Spectator::DSL
|
|||
|
||||
define_example :specify
|
||||
|
||||
@[Deprecated("Behavior of pending blocks will change in Spectator v0.11.0. Use `skip` instead.")]
|
||||
define_pending_example :pending
|
||||
|
||||
define_pending_example :skip
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue