Michael Miller 2022-08-07 14:58:09 -06:00
parent 02027cda53
commit 17a3ca3ac7
No known key found for this signature in database
GPG key ID: 32B47AE8F388A1FF
3 changed files with 16 additions and 2 deletions

View file

@ -790,7 +790,7 @@ module Spectator::DSL
# ```
# expect_raises { raise "foobar" }
# ```
macro expect_raises
macro expect_raises(&block)
expect {{block}}.to raise_error
end