mirror of
https://gitea.invidious.io/iv-org/shard-spectator.git
synced 2024-08-15 00:53:35 +00:00
Fix test
This commit is contained in:
parent
4e57f6adca
commit
ef490c78b0
1 changed files with 1 additions and 1 deletions
|
@ -663,7 +663,7 @@ describe Spectator::RunnableExample do
|
||||||
before_each: ->{ nil },
|
before_each: ->{ nil },
|
||||||
after_all: ->{ called = :after_all; nil },
|
after_all: ->{ called = :after_all; nil },
|
||||||
after_each: ->{ raise "oops"; nil },
|
after_each: ->{ raise "oops"; nil },
|
||||||
around_each: ->(proc : ->) { called = :around_each; proc.call })
|
around_each: ->(proc : ->) { proc.call })
|
||||||
expect_raises(Exception) do
|
expect_raises(Exception) do
|
||||||
run_example(PassingExample, hooks)
|
run_example(PassingExample, hooks)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue