Skip to content

Mock expectation failures triggered my unicorns instead of my trolls

Created by: KevinLiddle

now it works pair: @christophgockel

I was triggering other commands based on test results, which got screwed up if mock expectations failed. Now this will set example.exception in the after(:each) block, so I can key off of that.

Merge request reports