Skip to content

aggregate_failures hides exceptions in after block

Created by: RodneyU215

Hi folks,

In our tests we have RSpec after hooks setup that check for example.exception which works normally. However when a spec has the aggregate_failures tag and it throws an exception, example.exception is nil.

This PR has a spec that demonstrates this behavior.

Merge request reports