1
0
Fork 0
mirror of https://github.com/carrierwaveuploader/carrierwave.git synced 2022-11-09 12:03:54 -05:00

add rspec config raise_errors_for_deprecations!

prevent to add code with rspec deprecation
This commit is contained in:
wonda-tea-coffee 2022-06-18 13:01:13 +09:00
parent 6bf0de8173
commit 27ee8afa6f

View file

@ -158,6 +158,7 @@ RSpec.configure do |config|
config.prepend CarrierWave::Test::SsrfProtectionAwareWebMock
config.verbose_retry = true
config.display_try_failure_messages = true
config.raise_errors_for_deprecations!
config.around :each, :with_retry do |example|
example.run_with_retry retry: 2
end