Missed a usage of yield that should be block

This commit is contained in:
Michael Miller 2019-03-31 18:53:40 -06:00
parent 60f50b6378
commit 58031e01c6

View file

@ -527,7 +527,7 @@ module Spectator::DSL
# expect_raises { raise "foobar" }
# ```
macro expect_raises
expect {{yield}}.to raise_error
expect {{block}}.to raise_error
end
# Indicates that some block should raise an error with a given type.