Missed one

This commit is contained in:
Michael Miller 2019-03-26 18:05:08 -06:00
parent 007c0c7950
commit 2da1f9dbbf

View file

@ -503,7 +503,7 @@ module Spectator::DSL
# expect_raises(KeyError) { hash["baz"] }.to raise_error(KeyError)
# ```
macro expect_raises(type)
expect {{yield}}.to raise_error(type)
expect {{yield}}.to raise_error({{type}})
end
# Indicates that some block should raise an error with a given message and type.