Skip to content

[WIP] Allow before(:all) blocks to play nicely with rspec-retry

Created by: token-cjg

Currently rspec-retry doesn't work in before(:all) blocks; specs will simply fail after one attempt, eg if one passes retry=3 to a bundle exec ...args declaration.

Inherit from RSpec::Core::Configuration to create a new configuration object that overrides the previous functionality.

Add noredink/rspec-retry as a Gemspec dependency.

This should allow rspec-retry to retry in before(:all) blocks.

Merge request reports