mirror of
https://gitea.invidious.io/iv-org/shard-spectator.git
synced 2024-08-15 00:53:35 +00:00
Missed a usage of yield that should be block
This commit is contained in:
parent
60f50b6378
commit
58031e01c6
1 changed files with 1 additions and 1 deletions
|
@ -527,7 +527,7 @@ module Spectator::DSL
|
||||||
# expect_raises { raise "foobar" }
|
# expect_raises { raise "foobar" }
|
||||||
# ```
|
# ```
|
||||||
macro expect_raises
|
macro expect_raises
|
||||||
expect {{yield}}.to raise_error
|
expect {{block}}.to raise_error
|
||||||
end
|
end
|
||||||
|
|
||||||
# Indicates that some block should raise an error with a given type.
|
# Indicates that some block should raise an error with a given type.
|
||||||
|
|
Loading…
Reference in a new issue