rspec-repeat
rspec-repeat copied to clipboard
Execute a passed block after any failed test.
Hi @rstacruz, thanks for the really useful gem!
I've added an option to pass a block to the repeat definition which allows arbitrary code to be executed if a spec fails.
I hope you think it's a useful addition to the gem.