Missed a usage of yield that should be block
This commit is contained in:
parent
60f50b6378
commit
58031e01c6
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue