mirror of
https://gitea.invidious.io/iv-org/shard-spectator.git
synced 2024-08-15 00:53:35 +00:00
Run deferred expectations after all hooks
This commit is contained in:
parent
1e3d89884b
commit
721425c3c8
2 changed files with 2 additions and 2 deletions
|
@ -19,6 +19,7 @@ module Spectator
|
|||
ResultCapture.new.tap do |result|
|
||||
context.run_before_hooks(self)
|
||||
run_example(result)
|
||||
@finished = true
|
||||
context.run_after_hooks(self)
|
||||
run_deferred(result) unless result.error
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue