mirror of
https://gitea.invidious.io/iv-org/shard-spectator.git
synced 2024-08-15 00:53:35 +00:00
This commit is contained in:
parent
02027cda53
commit
17a3ca3ac7
3 changed files with 16 additions and 2 deletions
|
@ -790,7 +790,7 @@ module Spectator::DSL
|
|||
# ```
|
||||
# expect_raises { raise "foobar" }
|
||||
# ```
|
||||
macro expect_raises
|
||||
macro expect_raises(&block)
|
||||
expect {{block}}.to raise_error
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue