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
1 changed files with 1 additions and 0 deletions

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