This commit is contained in:
Michael Miller 2018-12-07 23:01:08 -07:00
parent 4e57f6adca
commit ef490c78b0

View file

@ -663,7 +663,7 @@ describe Spectator::RunnableExample do
before_each: ->{ nil },
after_all: ->{ called = :after_all; nil },
after_each: ->{ raise "oops"; nil },
around_each: ->(proc : ->) { called = :around_each; proc.call })
around_each: ->(proc : ->) { proc.call })
expect_raises(Exception) do
run_example(PassingExample, hooks)
end