Sha256: 72415630c08b1ea70513cd178e13366b20da83e8a53e8e86c9030009c6984f91
Contents?: true
Size: 424 Bytes
Versions: 80
Compression:
Stored size: 424 Bytes
Contents
# If a test fails and RSPEC_RETRY is set to true, create a new # application before retrying the RSpec test again # RSpec.configure do |config| config.around(:example) do |example| example.run next if example.metadata[:webmock] # new app is not needed for a mocked test if example.exception && ENV['RSPEC_RETRY'] reload_test_app puts "** Test app reloaded before next retry **" end end end
Version data entries
80 entries across 80 versions & 2 rubygems